{"openapi":"3.0.0","info":{"title":"EVM API","version":"2.2"},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key","x-default":"test"}},"schemas":{"tokenExplorerMetrics":{"type":"string","enum":["experiencedBuyers","tokenAge","holders","buyers","sellers","netBuyers","experiencedSellers","netExperiencedBuyers","fullyDilutedValuation","marketCap","usdPrice","usdPricePercentChange","liquidityChange","liquidityChangeUSD","volumeUsd","buyVolumeUsd","sellVolumeUsd","netVolumeUsd","securityScore","totalHolders","totalLiquidityUsd"]},"tokenExplorerTimeFrames":{"type":"string","enum":["oneMonth","tenMinutes","thirtyMinutes","oneHour","fourHours","twelveHours","oneDay","oneWeek"]},"decodedCall":{"type":"object","properties":{"signature":{"type":"string","example":"transfer(address,uint256)"},"label":{"type":"string","example":"transfer"},"type":{"type":"string","example":"function"},"params":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"_to"},"value":{"type":"string","example":"0x1CA455A55108874A95C84620dDA2566c54D17953"},"type":{"type":"string","example":"address"}}}}}},"decodedEvent":{"type":"object","properties":{"signature":{"type":"string","example":"Transfer(address,address,uint256)"},"label":{"type":"string","example":"Transfer"},"type":{"type":"string","example":"event"},"params":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","example":"from"},"value":{"type":"string","example":"0x26C5011483Add49801eA8E3Ee354fE013895aCe5"},"type":{"type":"string","example":"address"}}}}}},"logCollection":{"required":["result"],"properties":{"page":{"type":"integer","description":"The current page of the result","example":"1"},"page_size":{"type":"integer","description":"The number of results per page","example":"100"},"cursor":{"type":"string","description":"The cursor to get to the next page"},"result":{"type":"array","items":{"$ref":"#/components/schemas/logEventByAddress"}}}},"ContractTokenDetails":{"type":"object","properties":{"address":{"type":"string"},"address_label":{"type":"string","nullable":true},"token_name":{"type":"string"},"token_logo":{"type":"string"},"token_symbol":{"type":"string"}},"required":["address","token_name","token_logo","token_symbol"]},"ContractSpenderDetails":{"type":"object","properties":{"address":{"type":"string"},"address_label":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"symbol":{"type":"string","nullable":true},"logo":{"type":"string","nullable":true}},"required":["address"]},"CommonContractData":{"type":"object","properties":{"value":{"type":"string"},"value_formatted":{"type":"string","nullable":true},"token":{"$ref":"#/components/schemas/ContractTokenDetails"},"spender":{"$ref":"#/components/schemas/ContractSpenderDetails"}},"required":["value","token","spender"]},"ApprovalResponse":{"type":"object","properties":{"approvals":{"type":"array","items":{"$ref":"#/components/schemas/ApprovalData"}}}},"RevokeResponse":{"type":"object","properties":{"revokes":{"type":"array","items":{"$ref":"#/components/schemas/ApprovalData"}}}},"SetApprovalAllResponse":{"type":"object","properties":{"set_approvals_all":{"type":"array","items":{"$ref":"#/components/schemas/SetApprovalAllData"}}}},"SetRevokeAllResponse":{"type":"object","properties":{"set_revokes_all":{"type":"array","items":{"$ref":"#/components/schemas/SetApprovalAllData"}}}},"ApprovalData":{"type":"object","properties":{"value":{"type":"string"},"value_formatted":{"type":"string","nullable":true},"token":{"$ref":"#/components/schemas/TokenDetails"},"spender":{"$ref":"#/components/schemas/SpenderDetails"}}},"SetApprovalAllData":{"type":"object","properties":{"token":{"$ref":"#/components/schemas/TokenDetails"},"operator":{"$ref":"#/components/schemas/SpenderDetails"}}},"TokenDetails":{"type":"object","properties":{"address":{"type":"string"},"address_label":{"type":"string","nullable":true},"token_name":{"type":"string"},"token_logo":{"type":"string"},"token_symbol":{"type":"string"}}},"TransactionTypes":{"type":"array","items":{"type":"string","enum":["buy","sell","addLiquidity","removeLiquidity"]},"default":["buy","sell","addLiquidity","removeLiquidity"]},"BuySellTransactionTypes":{"type":"array","items":{"type":"string","enum":["buy","sell"]},"default":["buy","sell"]},"SpenderDetails":{"type":"object","properties":{"address":{"type":"string"},"address_label":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"symbol":{"type":"string","nullable":true},"logo":{"type":"string","nullable":true},"entity":{"type":"string","nullable":true},"entity_logo":{"type":"string","nullable":true}}},"ResolveContractInteractionResponse":{"oneOf":[{"$ref":"#/components/schemas/ApprovalResponse"},{"$ref":"#/components/schemas/RevokeResponse"},{"$ref":"#/components/schemas/SetApprovalAllResponse"},{"$ref":"#/components/schemas/SetRevokeAllResponse"}]},"logEventByAddress":{"required":["transaction_hash","address","block_timestamp","block_number","block_hash","data","topic0","topic1","topic2","topic3","transaction_index","log_index"],"properties":{"transaction_hash":{"type":"string","description":"The transaction hash","example":"0x2d30ca6f024dbc1307ac8a1a44ca27de6f797ec22ef20627a1307243b0ab7d09"},"address":{"type":"string","description":"The address of the contract","example":"0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"},"block_timestamp":{"type":"string","description":"The block timestamp","example":"2021-04-02T10:07:54.000Z"},"block_number":{"type":"string","description":"The block number","example":12526958},"block_hash":{"type":"string","description":"The block hash","example":"0x0372c302e3c52e8f2e15d155e2c545e6d802e479236564af052759253b20fd86"},"data":{"type":"string","description":"The data of the log","example":"0x00000000000000000000000000000000000000000000000de05239bccd4d537400000000000000000000000000024dbc80a9f80e3d5fc0a0ee30e2693781a443"},"topic0":{"type":"string","example":"0x2caecd17d02f56fa897705dcc740da2d237c373f70686f4e0d9bd3bf0400ea7a"},"topic1":{"type":"string","example":"0x000000000000000000000000031002d15b0d0cd7c9129d6f644446368deae391"},"topic2":{"type":"string","example":"0x000000000000000000000000d25943be09f968ba740e0782a34e710100defae9"},"topic3":{"type":"string","example":null},"transaction_index":{"type":"integer","description":"The Transaction index of the log within the block","example":12},"log_index":{"type":"integer","description":"The log index of the log within the block","example":15}}},"logEvent":{"required":["transaction_hash","address","block_timestamp","block_number","block_hash","data"],"properties":{"transaction_hash":{"type":"string","description":"The transaction hash","example":"0x2d30ca6f024dbc1307ac8a1a44ca27de6f797ec22ef20627a1307243b0ab7d09"},"address":{"type":"string","description":"The address of the contract","example":"0x18F97EF6B2cbac5CA85b375b7093C4A207340d06"},"block_timestamp":{"type":"string","description":"The block timestamp","example":"2021-04-02T10:07:54.000Z"},"block_number":{"type":"string","description":"The block number","example":12526958},"block_hash":{"type":"string","description":"The block hash","example":"0x0372c302e3c52e8f2e15d155e2c545e6d802e479236564af052759253b20fd86"},"data":{"type":"object","description":"The content of the event","properties":{"from":{"type":"string","readOnly":true,"example":"0x54ff6974c715956a5049a123408bff91fbe29f01"},"to":{"type":"string","readOnly":true,"example":"0x74de5d4fcbf63e00296fd95d33236b9794016631"},"value":{"type":"string","readOnly":true,"example":"260103496340000000000"}}}}},"log":{"type":"object","required":["log_index","transaction_hash","transaction_index","address","data","topic0","block_timestamp","block_number","block_hash"],"properties":{"log_index":{"type":"string","example":"273"},"transaction_hash":{"type":"string","description":"The hash of the transaction","example":"0xdd9006489e46670e0e85d1fb88823099e7f596b08aeaac023e9da0851f26fdd5"},"transaction_index":{"type":"string","example":"204"},"address":{"type":"string","description":"The address of the contract","example":"0x3105d328c66d8d55092358cf595d54608178e9b5"},"data":{"type":"string","description":"The data of the log","example":"0x00000000000000000000000000000000000000000000000de05239bccd4d537400000000000000000000000000024dbc80a9f80e3d5fc0a0ee30e2693781a443"},"topic0":{"type":"string","example":"0x2caecd17d02f56fa897705dcc740da2d237c373f70686f4e0d9bd3bf0400ea7a"},"topic1":{"type":"string","nullable":true,"example":"0x000000000000000000000000031002d15b0d0cd7c9129d6f644446368deae391"},"topic2":{"type":"string","nullable":true,"example":"0x000000000000000000000000d25943be09f968ba740e0782a34e710100defae9"},"topic3":{"type":"string","nullable":true,"example":null},"block_timestamp":{"type":"string","description":"The timestamp of the block","example":"2021-05-07T11:08:35.000Z"},"block_number":{"type":"string","description":"The block number","example":"12386788"},"block_hash":{"type":"string","description":"The hash of the block","example":"0x9b559aef7ea858608c2e554246fe4a24287e7aeeb976848df2b9a2531f4b9171"}}},"logVerbose":{"required":["log_index","transaction_hash","transaction_index","address","data","topic0","block_timestamp","block_number","block_hash","decoded_event"],"properties":{"log_index":{"type":"string","example":"273"},"transaction_hash":{"type":"string","description":"The hash of the transaction","example":"0xdd9006489e46670e0e85d1fb88823099e7f596b08aeaac023e9da0851f26fdd5"},"transaction_index":{"type":"string","example":"204"},"address":{"type":"string","description":"The address of the contract","example":"0x3105d328c66d8d55092358cf595d54608178e9b5"},"data":{"type":"string","description":"The data of the log","example":"0x00000000000000000000000000000000000000000000000de05239bccd4d537400000000000000000000000000024dbc80a9f80e3d5fc0a0ee30e2693781a443"},"topic0":{"type":"string","example":"0x2caecd17d02f56fa897705dcc740da2d237c373f70686f4e0d9bd3bf0400ea7a"},"topic1":{"type":"string","example":"0x000000000000000000000000031002d15b0d0cd7c9129d6f644446368deae391"},"topic2":{"type":"string","example":"0x000000000000000000000000d25943be09f968ba740e0782a34e710100defae9"},"topic3":{"type":"string","example":null},"block_timestamp":{"type":"string","description":"The timestamp of the block","example":"2021-05-07T11:08:35.000Z"},"block_number":{"type":"string","description":"The block number","example":"12386788"},"block_hash":{"type":"string","description":"The hash of the block","example":"0x9b559aef7ea858608c2e554246fe4a24287e7aeeb976848df2b9a2531f4b9171"},"decoded_event":{"type":"object","description":"The decoded data of the log","$ref":"#/components/schemas/decodedEvent"}}},"logResponse":{"required":["result"],"properties":{"cursor":{"type":"string","description":"The cursor to get to the next page"},"result":{"type":"array","items":{"$ref":"#/components/schemas/log"}}}},"blockTransaction":{"type":"object","required":["hash","nonce","transaction_index","from_address","value","gas_price","input","receipt_cumulative_gas_used","receipt_gas_used","receipt_status","block_timestamp","block_number","block_hash"],"properties":{"hash":{"type":"string","description":"The hash of the transaction","example":"0x1ed85b3757a6d31d01a4d6677fc52fd3911d649a0af21fe5ca3f886b153773ed"},"nonce":{"type":"string","description":"The nonce","example":"1848059"},"transaction_index":{"type":"string","example":"108"},"from_address_entity":{"type":"string","description":"The from address entity","example":"Opensea"},"from_address_entity_logo":{"type":"string","description":"The logo of the from address entity","example":"https://opensea.io/favicon.ico"},"from_address":{"type":"string","description":"The from address","example":"0x267be1c1d684f78cb4f6a176c4911b741e4ffdc0"},"from_address_label":{"type":"string","nullable":true,"description":"The label of the from address","example":"Binance 1"},"to_address_entity":{"type":"string","description":"The to address entity","example":"Beaver Build"},"to_address_entity_logo":{"type":"string","description":"The logo of the to address entity","example":"https://beaverbuild.com/favicon.ico"},"to_address":{"type":"string","nullable":true,"description":"The to address","example":"0x003dde3494f30d861d063232c6a8c04394b686ff"},"to_address_label":{"type":"string","nullable":true,"description":"The label of the to address","example":"Binance 2"},"value":{"type":"string","description":"The value sent","example":"115580000000000000"},"gas":{"type":"string","example":"30000"},"gas_price":{"type":"string","description":"The gas price","example":"52500000000"},"input":{"type":"string","example":"0x"},"receipt_cumulative_gas_used":{"type":"string","example":"4923073"},"receipt_gas_used":{"type":"string","example":"21000"},"receipt_contract_address":{"type":"string","nullable":true,"example":null},"receipt_root":{"type":"string","nullable":true,"example":null},"receipt_status":{"type":"string","example":"1"},"block_timestamp":{"type":"string","description":"The block timestamp","example":"2021-05-07T11:08:35.000Z"},"block_number":{"type":"string","description":"The block number","example":"12386788"},"block_hash":{"type":"string","description":"The hash of the block","example":"0x9b559aef7ea858608c2e554246fe4a24287e7aeeb976848df2b9a2531f4b9171"},"logs":{"type":"array","description":"The logs of the transaction","items":{"$ref":"#/components/schemas/log"}},"internal_transactions":{"type":"array","description":"The internal transactions of the transaction","items":{"$ref":"#/components/schemas/internalTransaction"}}}},"blockTransactionDecoded":{"type":"object","required":["hash","nonce","transaction_index","from_address","value","gas_price","input","receipt_cumulative_gas_used","receipt_gas_used","receipt_status","transaction_fee","block_timestamp","block_number","block_hash","logs","decoded_call"],"properties":{"hash":{"type":"string","description":"The hash of the transaction","example":"0x1ed85b3757a6d31d01a4d6677fc52fd3911d649a0af21fe5ca3f886b153773ed"},"nonce":{"type":"string","description":"The nonce","example":"1848059"},"transaction_index":{"type":"string","example":"108"},"from_address_entity":{"type":"string","description":"The from address entity","example":"Opensea"},"from_address_entity_logo":{"type":"string","description":"The logo of the from address entity","example":"https://opensea.io/favicon.ico"},"from_address":{"type":"string","description":"The from address","example":"0x267be1c1d684f78cb4f6a176c4911b741e4ffdc0"},"from_address_label":{"type":"string","nullable":true,"description":"The label of the from address","example":"Binance 1"},"to_address_entity":{"type":"string","description":"The to address entity","example":"Beaver Build"},"to_address_entity_logo":{"type":"string","description":"The logo of the to address entity","example":"https://beaverbuild.com/favicon.ico"},"to_address":{"type":"string","description":"The to address","example":"0x003dde3494f30d861d063232c6a8c04394b686ff"},"to_address_label":{"type":"string","nullable":true,"description":"The label of the to address","example":"Binance 2"},"value":{"type":"string","description":"The value sent","example":"115580000000000000"},"gas":{"type":"string","example":"30000"},"gas_price":{"type":"string","description":"The gas price","example":"52500000000"},"input":{"type":"string","example":"0x"},"receipt_cumulative_gas_used":{"type":"string","example":"4923073"},"receipt_gas_used":{"type":"string","example":"21000"},"receipt_contract_address":{"type":"string","example":null},"receipt_root":{"type":"string","example":null},"receipt_status":{"type":"string","example":"1"},"transaction_fee":{"type":"string","example":"0.00034"},"block_timestamp":{"type":"string","description":"The block timestamp","example":"2021-05-07T11:08:35.000Z"},"block_number":{"type":"string","description":"The block number","example":"12386788"},"block_hash":{"type":"string","description":"The hash of the block","example":"0x9b559aef7ea858608c2e554246fe4a24287e7aeeb976848df2b9a2531f4b9171"},"logs":{"type":"array","description":"The logs of the transaction","items":{"$ref":"#/components/schemas/logVerbose"}},"decoded_call":{"type":"object","description":"The decoded data of the transaction","$ref":"#/components/schemas/decodedCall"}}},"block":{"type":"object","required":["timestamp","number","hash","parent_hash","nonce","sha3_uncles","logs_bloom","transactions_root","state_root","receipts_root","miner","difficulty","total_difficulty","size","extra_data","gas_limit","gas_used","transaction_count","transactions"],"properties":{"timestamp":{"type":"string","description":"The block timestamp","example":"2021-05-07T11:08:35.000Z"},"number":{"type":"string","description":"The block number","example":12386788},"hash":{"type":"string","description":"The block hash","example":"0x9b559aef7ea858608c2e554246fe4a24287e7aeeb976848df2b9a2531f4b9171"},"parent_hash":{"type":"string","description":"The block hash of the parent block","example":"0x011d1fc45839de975cc55d758943f9f1d204f80a90eb631f3bf064b80d53e045"},"nonce":{"type":"string","description":"The nonce","example":"0xedeb2d8fd2b2bdec"},"sha3_uncles":{"type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"},"logs_bloom":{"type":"string","example":"0xdde5fc46c5d8bcbd58207bc9f267bf43298e23791a326ff02661e99790da9996b3e0dd912c0b8202d389d282c56e4d11eb2dec4898a32b6b165f1f4cae6aa0079498eab50293f3b8defbf6af11bb75f0408a563ddfc26a3323d1ff5f9849e95d5f034d88a757ddea032c75c00708c9ff34d2207f997cc7d93fd1fa160a6bfaf62a54e31f9fe67ab95752106ba9d185bfdc9b6dc3e17427f844ee74e5c09b17b83ad6e8fc7360f5c7c3e4e1939e77a6374bee57d1fa6b2322b11ad56ad0398302de9b26d6fbfe414aa416bff141fad9d4af6aea19322e47595e342cd377403f417dfd396ab5f151095a5535f51cbc34a40ce9648927b7d1d72ab9daf253e31daf"},"transactions_root":{"type":"string","example":"0xe4c7bf3aff7ad07f9e80d57f7189f0252592fee6321c2a9bd9b09b6ce0690d27"},"state_root":{"type":"string","example":"0x49e3bfe7b618e27fde8fa08884803a8458b502c6534af69873a3cc926a7c724b"},"receipts_root":{"type":"string","example":"0x7cf43d7e837284f036cf92c56973f5e27bdd253ca46168fa195a6b07fa719f23"},"miner":{"type":"string","description":"The address of the miner","example":"0xea674fdde714fd979de3edf0f56aa9716b898ec8"},"difficulty":{"type":"string","description":"The difficulty of the block","example":"7253857437305950"},"total_difficulty":{"type":"string","description":"The total difficulty","example":"24325637817906576196890"},"size":{"type":"string","description":"The block size","example":"61271"},"extra_data":{"type":"string","example":"0x65746865726d696e652d6575726f70652d7765737433"},"gas_limit":{"type":"string","description":"The gas limit","example":"14977947"},"gas_used":{"type":"string","description":"The gas used","example":"14964688"},"transaction_count":{"type":"string","description":"The number of transactions in the block","example":"252"},"transactions":{"type":"array","description":"The transactions in the block","items":{"$ref":"#/components/schemas/blockTransaction"}}}},"blockTransactionVerbose":{"type":"object","required":["hash","nonce","transaction_index","from_address","value","gas_price","input","receipt_cumulative_gas_used","receipt_gas_used","receipt_status","transaction_fee","block_timestamp","block_number","block_hash","logs","decoded_call"],"properties":{"hash":{"type":"string","description":"The hash of the transaction","example":"0x1ed85b3757a6d31d01a4d6677fc52fd3911d649a0af21fe5ca3f886b153773ed"},"nonce":{"type":"string","description":"The nonce","example":"1848059"},"transaction_index":{"type":"string","example":"108"},"from_address_entity":{"type":"string","description":"The from address entity","example":"Opensea"},"from_address_entity_logo":{"type":"string","description":"The logo of the from address entity","example":"https://opensea.io/favicon.ico"},"from_address":{"type":"string","description":"The from address","example":"0x267be1c1d684f78cb4f6a176c4911b741e4ffdc0"},"from_address_label":{"type":"string","nullable":true,"description":"The label of the from address","example":"Binance 1"},"to_address_entity":{"type":"string","description":"The to address entity","example":"Beaver Build"},"to_address_entity_logo":{"type":"string","description":"The logo of the to address entity","example":"https://beaverbuild.com/favicon.ico"},"to_address":{"type":"string","description":"The to address","example":"0x003dde3494f30d861d063232c6a8c04394b686ff"},"to_address_label":{"type":"string","nullable":true,"description":"The label of the to address","example":"Binance 2"},"value":{"type":"string","description":"The value sent","example":"115580000000000000"},"gas":{"type":"string","example":"30000"},"gas_price":{"type":"string","description":"The gas price","example":"52500000000"},"input":{"type":"string","example":"0x"},"receipt_cumulative_gas_used":{"type":"string","example":"4923073"},"receipt_gas_used":{"type":"string","example":"21000"},"receipt_contract_address":{"type":"string","example":null},"receipt_root":{"type":"string","example":null},"receipt_status":{"type":"string","example":"1"},"transaction_fee":{"type":"string","example":"0.00034"},"block_timestamp":{"type":"string","description":"The block timestamp","example":"2021-05-07T11:08:35.000Z"},"block_number":{"type":"string","description":"The block number","example":"12386788"},"block_hash":{"type":"string","description":"The hash of the block","example":"0x9b559aef7ea858608c2e554246fe4a24287e7aeeb976848df2b9a2531f4b9171"},"logs":{"type":"array","description":"The logs of the transaction","items":{"$ref":"#/components/schemas/logVerbose"}},"decoded_call":{"type":"object","description":"The decoded data of the transaction","$ref":"#/components/schemas/decodedCall"}}},"blockDate":{"type":"object","required":["date","block","timestamp"],"properties":{"date":{"type":"string","description":"The date of the block","example":"2020-01-01T00:00:00+00:00"},"block":{"type":"number","description":"The block number","example":9193266},"timestamp":{"type":"number","description":"The timestamp of the block","example":1577836811},"block_timestamp":{"type":"string","description":"The timestamp of the block","example":"2019-12-31T23:59:45.000Z"},"hash":{"type":"string","description":"The block hash","example":"0x9b559aef7ea858608c2e554246fe4a24287e7aeeb976848df2b9a2531f4b9171"},"parent_hash":{"type":"string","description":"The block hash of the parent block","example":"0x011d1fc45839de975cc55d758943f9f1d204f80a90eb631f3bf064b80d53e045"}}},"RunContractDto":{"required":["abi"],"properties":{"abi":{"type":"array","items":{"type":"object"},"description":"The contract ABI","example":[]},"params":{"type":"object","description":"The params for the given function","example":{}}}},"tokenItem":{"properties":{"token_address":{"type":"string","description":"The contract address","example":"0x06012c8cf97bead5deae237070f9587f8e7a266d"},"token_id":{"type":"string","description":"The id of the token","example":100}}},"GetMultipleNftsDto":{"required":["tokens"],"properties":{"tokens":{"type":"array","maxItems":25,"description":"The tokens to be fetched (max 25 tokens)","example":[{"token_address":"0xa4991609c508b6d4fb7156426db0bd49fe298bd8","token_id":"12"},{"token_address":"0x3c64dc415ebb4690d1df2b6216148c8de6dd29f7","token_id":"1"},{"token_address":"0x3c64dc415ebb4690d1df2b6216148c8de6dd29f7","token_id":"200"}],"items":{"$ref":"#/components/schemas/tokenItem"}},"normalizeMetadata":{"type":"boolean","description":"Should normalized metadata be returned?","example":false},"media_items":{"type":"boolean","description":"Should preview media data be returned?","example":false}}},"tokenPriceItem":{"required":["token_address"],"properties":{"token_address":{"type":"string","description":"The contract address","example":"0x06012c8cf97bead5deae237070f9587f8e7a266d"},"exchange":{"type":"string","description":"The exchange","example":"uniswapv3"},"to_block":{"type":"string","description":"The block number","example":12526958}}},"GetMultipleTokenPricesDto":{"required":["tokens"],"properties":{"tokens":{"type":"array","maxItems":30,"description":"The tokens to be fetched","example":[{"token_address":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"token_address":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"},{"token_address":"0xae7ab96520de3a18e5e111b5eaab095312d7fe84","exchange":"uniswapv2","to_block":"16314545"},{"token_address":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0"}],"items":{"$ref":"#/components/schemas/tokenPriceItem"}}}},"tokenAndChainItem":{"required":["chain","tokenAddress"],"properties":{"chain":{"type":"string","description":"The chain to query","$ref":"#/components/schemas/chainList"},"tokenAddress":{"type":"string","description":"The token address","example":"0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0"}}},"GetMultipleTokenAnalyticsDto":{"required":["tokens"],"properties":{"tokens":{"type":"array","maxItems":30,"description":"The tokens to be fetched","example":[{"chain":"0x1","tokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"chain":"solana","tokenAddress":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}],"items":{"$ref":"#/components/schemas/tokenAndChainItem"}}}},"GetTimeSeriesTokenAnalyticsDto":{"required":["tokens"],"properties":{"tokens":{"type":"array","maxItems":30,"description":"The tokens to be fetched","example":[{"chain":"0x1","tokenAddress":"0xdac17f958d2ee523a2206206994597c13d831ec7"},{"chain":"solana","tokenAddress":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}],"items":{"$ref":"#/components/schemas/tokenAndChainItem"}}}},"transactionCollection":{"required":["result"],"properties":{"cursor":{"type":"string","description":"The cursor to get to the next page"},"page":{"type":"integer","description":"The current page of the result","example":"2"},"page_size":{"type":"integer","description":"The number of results per page","example":"100"},"result":{"type":"array","items":{"$ref":"#/components/schemas/transaction"}}}},"transactionCollectionVerbose":{"required":["result"],"properties":{"cursor":{"type":"string","description":"The cursor to get to the next page"},"page":{"type":"integer","description":"The current page of the result","example":"2"},"page_size":{"type":"integer","description":"The number of results per page","example":"100"},"result":{"type":"array","items":{"$ref":"#/components/schemas/blockTransactionVerbose"}}}},"defiPositionDetails":{"properties":{"fee_tier":{"type":"number","nullable":true,"description":"The fee tier of the position"},"range_tnd":{"type":"number","nullable":true,"description":"The range trend of the position"},"reserves":{"type":"array","nullable":true,"items":{"type":"string"},"description":"The reserves of the position"},"current_price":{"type":"number","nullable":true,"description":"The current price of the position"},"is_in_range":{"type":"boolean","nullable":true,"description":"Whether the position is in range"},"price_upper":{"type":"number","nullable":true,"description":"The upper price of the range"},"price_lower":{"type":"number","nullable":true,"description":"The lower price of the range"},"price_label":{"type":"string","nullable":true,"description":"The price label"},"liquidity":{"type":"number","nullable":true,"description":"The liquidity of the position"},"range_start":{"type":"number","nullable":true,"description":"The start of the range"},"pool_address":{"type":"string","nullable":true,"description":"The address of the pool"},"position_key":{"type":"string","nullable":true,"description":"The key of the position"},"nft_metadata":{"type":"object","nullable":true,"additionalProperties":true,"description":"Metadata of the NFT"},"asset_standard":{"type":"string","nullable":true,"description":"The standard of the asset"},"apy":{"type":"number","nullable":true,"description":"The annual percentage yield"},"is_debt":{"type":"boolean","nullable":true,"description":"Whether the position is a debt"},"is_variable_debt":{"type":"boolean","nullable":true,"description":"Whether the position is a variable debt"},"is_stable_debt":{"type":"boolean","nullable":true,"description":"Whether the position is a stable debt"},"shares":{"type":"string","nullable":true,"description":"The shares of the position"},"reserve0":{"type":"string","nullable":true,"description":"The first reserve of the position"},"reserve1":{"type":"string","nullable":true,"description":"The second reserve of the position"},"factory":{"type":"string","description":"The factory of the position"},"pair":{"type":"string","nullable":true,"description":"The pair of the position"},"share_of_pool":{"type":"number","nullable":true,"description":"The share of the pool"},"no_price_available":{"type":"boolean","nullable":true,"description":"Whether the price is available"},"shares_in_strategy":{"type":"string","nullable":true,"description":"The shares in the strategy"},"strategy_address":{"type":"string","nullable":true,"description":"The address of the strategy"},"base_type":{"type":"string","nullable":true,"description":"The base type of the position"},"health_factor":{"type":"number","nullable":true,"description":"The health factor of the position in percent"},"is_enabled_collateral":{"type":"boolean","nullable":true,"description":"Whether the supply position is enabled as collateral"}}},"defiTokenBalance":{"required":["name","decimals","symbol","contract_address","token_type","balance","balance_formatted"],"properties":{"token_type":{"type":"string","description":"The token type (supply/defi/borrow token)","example":"defi-token"},"name":{"type":"string","description":"The name of the token","example":"Wrapped Ether"},"symbol":{"type":"string","description":"The symbol of the token","example":"WETH"},"contract_address":{"type":"string","description":"The contract address","example":"0x06012c8cf97bead5deae237070f9587f8e7a266d"},"decimals":{"type":"number","description":"The decimals of the token","example":"18"},"logo":{"type":"string","description":"The logo of the token","example":"https://cdn.moralis.io/tokens/0x0000000000085d4780b73119b644ae5ecd22b376.png"},"thumbnail":{"type":"string","description":"The thumbnail of the token","example":"https://cdn.moralis.io/tokens/0x0000000000085d4780b73119b644ae5ecd22b376.png"},"balance":{"type":"string","description":"The balance of the token","example":"1000000"},"balance_formatted":{"type":"string","description":"The balance of the token formatted","example":"1.000000"},"usd_price":{"type":"number","description":"The USD price of the token","example":"1000000"},"usd_value":{"type":"number","description":"The USD value of the token","example":"1000000"}}},"defiPositionSummaryResponse":{"properties":{"protocol_name":{"type":"string","description":"The name of the protocol","example":"Uniswap v2"},"protocol_id":{"type":"string","description":"The id of the protocol","example":"uniswap-v2"},"protocol_url":{"type":"string","description":"The url of the protocol","example":"https://app.uniswap.org/pools/v2"},"protocol_logo":{"type":"string","description":"The logo of the protocol","example":"https://cdn.moralis.io/defi/uniswap.png"},"position":{"type":"object","description":"The position of the protocol","$ref":"#/components/schemas/defiProtocolPosition"}}},"defiProtocolBalance":{"required":["total_usd_value","positions"],"properties":{"total_usd_value":{"type":"number","description":"The total USD value of the protocol","example":"1000000"},"total_unclaimed_usd_value":{"type":"number","description":"The total unclaimed USD value of the protocol","example":"1000000"},"positions":{"type":"number","description":"The number of positions","example":"100"}}},"defiProtocolPosition":{"required":["label","tokens","balance_usd","total_unclaimed_usd_value"],"properties":{"label":{"type":"string","description":"The label of the position","example":"liquidity"},"tokens":{"type":"array","items":{"$ref":"#/components/schemas/defiTokenBalance"}},"address":{"type":"string","description":"The address of the position","example":"0x06012c8cf97bead5deae237070f9587f8e7a266d"},"balance_usd":{"type":"number","description":"The balance in USD","example":"1000000"},"total_unclaimed_usd_value":{"type":"number","description":"The total unclaimed USD value of the position","example":"1000000"},"position_details":{"type":"object","description":"The details of the position","$ref":"#/components/schemas/defiPositionDetails"}}},"defiProtocolSummary":{"properties":{"protocol_name":{"type":"string","description":"The name of the protocol","example":"Uniswap"},"protocol_id":{"type":"string","description":"The id of the protocol","example":"uniswap"},"protocol_url":{"type":"string","description":"The url of the protocol","example":"https://app.uniswap.org/"},"protocol_logo":{"type":"string","description":"The logo of the protocol","example":"https://cdn.moralis.io/uniswap.png"},"position":{"type":"object","description":"The position of the protocol","$ref":"#/components/schemas/defiProtocolBalance"}}},"walletDefiSummary":{"required":["active_protocols","total_positions","total_usd_value","protocols"],"properties":{"active_protocols":{"type":"number","description":"The number of active protocols","example":"10"},"total_positions":{"type":"number","description":"The number of total positions","example":"100"},"total_usd_value":{"type":"number","description":"The total USD value of the wallet","example":"1000000"},"total_unclaimed_usd_value":{"type":"number","description":"The total unclaimed USD value of the wallet","example":"1000000"},"protocols":{"type":"array","items":{"$ref":"#/components/schemas/defiProtocolBalance"}}}},"walletDefiProtocolPosition":{"required":["positions","total_usd_value"],"properties":{"total_usd_value":{"type":"number","description":"The total USD value of the wallet","example":"1000000"},"total_unclaimed_usd_value":{"type":"number","description":"The total unclaimed USD value of the wallet","example":"1000000"},"positions":{"type":"array","items":{"$ref":"#/components/schemas/defiProtocolPosition"}}}},"walletActiveChains":{"required":["address","active_chains"],"properties":{"address":{"type":"string","description":"The address of the wallet","example":"0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"},"active_chains":{"type":"array","items":{"$ref":"#/components/schemas/walletActiveChain"}}}},"TokenHolderChange":{"required":["change","changePercent"],"properties":{"change":{"type":"number","description":"Net holder change","example":"10"},"changePercent":{"type":"number","description":"The percentage change","example":"0.10"}}},"TokenHolderSupplyChange":{"required":["supply","supplyPercent"],"properties":{"supply":{"type":"string","description":"Net holder change","example":"10"},"supplyPercent":{"type":"number","description":"The percentage change","example":"0.10"}}},"TokenHolderSummarySupply":{"required":["top10","top25","top50","top100","top250","top500"],"properties":{"top10":{"type":"object","description":"The holder breakdown of the top 10 holders","$ref":"#/components/schemas/TokenHolderSupplyChange"},"top25":{"type":"object","description":"The holder breakdown of the top 25 holders","$ref":"#/components/schemas/TokenHolderSupplyChange"},"top50":{"type":"object","description":"The holder breakdown of the top 10 holders","$ref":"#/components/schemas/TokenHolderSupplyChange"},"top100":{"type":"object","description":"The holder breakdown of the top 10 holders","$ref":"#/components/schemas/TokenHolderSupplyChange"},"top250":{"type":"object","description":"The holder breakdown of the top 250 holders","$ref":"#/components/schemas/TokenHolderSupplyChange"},"top500":{"type":"object","description":"The holder breakdown of the top 500 holders","$ref":"#/components/schemas/TokenHolderSupplyChange"}}},"TokenHolderSummaryHolderChange":{"required":["5min","1h","6h","24h","7d","3d","30d"],"properties":{"5min":{"type":"object","description":"The holder change in the last 5 minutes","$ref":"#/components/schemas/TokenHolderChange"},"1h":{"type":"object","description":"Net holder change in the last 1 hour","$ref":"#/components/schemas/TokenHolderChange"},"6h":{"type":"object","description":"Net holder change in the last 6 hour","$ref":"#/components/schemas/TokenHolderChange"},"24h":{"type":"object","description":"Net holder change in the last 24 hour","$ref":"#/components/schemas/TokenHolderChange"},"3d":{"type":"object","description":"Net holder change in the last 3 days","$ref":"#/components/schemas/TokenHolderChange"},"7d":{"type":"object","description":"Net holder change in the last 7 days","$ref":"#/components/schemas/TokenHolderChange"},"30d":{"type":"object","description":"Net holder change in the last 30 days","$ref":"#/components/schemas/TokenHolderChange"}}},"TokenHolderSummaryHolderByAcquisition":{"required":["swap","transfer","airdrop"],"properties":{"swap":{"type":"number","description":"Number of wallets with first interaction as a swap","example":"10"},"transfer":{"type":"number","description":"Number of wallets with first interaction as a transfer","example":"10"},"airdrop":{"type":"number","description":"Number of wallets with first interaction as a airdrop","example":"10"}}},"TokenHolderSummaryResult":{"required":["totalHolders","holderSupply","holderChange","holdersByAcquisition","holderDistribution"],"properties":{"totalHolders":{"type":"number","description":"The total holders of the token","example":"99999"},"holderSupply":{"type":"object","description":"The holder supply","$ref":"#/components/schemas/TokenHolderSummarySupply"},"holderChange":{"type":"object","description":"The holder change","$ref":"#/components/schemas/TokenHolderSummaryHolderChange"},"holdersByAcquisition":{"type":"object","description":"The holder change","$ref":"#/components/schemas/TokenHolderSummaryHolderByAcquisition"},"holderDistribution":{"type":"object","description":"The holder distribution","$ref":"#/components/schemas/TokenHolderCategory"}}},"TokenHolderCategory":{"required":["whales","sharks","dolphins","fish","octopus","crabs","shrimps"],"properties":{"whales":{"type":"integer","description":"Number of wallets in the category","example":"100"},"sharks":{"type":"integer","description":"Number of wallets in the category","example":"100"},"dolphins":{"type":"integer","description":"Number of wallets in the category","example":"100"},"fish":{"type":"integer","description":"Number of wallets in the category","example":"100"},"octopus":{"type":"integer","description":"Number of wallets in the category","example":"100"},"crabs":{"type":"integer","description":"Number of wallets in the category","example":"100"},"shrimps":{"type":"integer","description":"Number of wallets in the category","example":"100"}}},"TokenHolderTimelineArray":{"required":["timestamp","totalHolders","netHolderChange","holderPercentChange","holdersIn","holdersOut","newHoldersByAcquisition"],"properties":{"timestamp":{"type":"string","description":"Timestamp of the holder change ISO 8601 format","example":"2021-05-07T11:08:35.000Z"},"totalHolders":{"type":"integer","description":"The total holders of the token","example":"100"},"netHolderChange":{"type":"integer","description":"The net holder change"},"holderPercentChange":{"type":"integer","description":"The holder percentage change"},"newHoldersByAcquisition":{"type":"object","description":"The new holders by acquisition","$ref":"#/components/schemas/TokenHolderSummaryHolderByAcquisition"},"holdersIn":{"type":"object","description":"The holders in by category","$ref":"#/components/schemas/TokenHolderCategory"},"holdersOut":{"type":"object","description":"The holders in by category","$ref":"#/components/schemas/TokenHolderCategory"}}},"TokenHolderTimelineResult":{"required":["result"],"nullable":true,"properties":{"page":{"type":"integer","description":"The current page of the result","example":"1"},"pageSize":{"type":"integer","description":"The number of results per page","example":"100"},"cursor":{"type":"string","description":"The cursor to get to the next page"},"result":{"type":"array","items":{"$ref":"#/components/schemas/TokenHolderTimelineArray"}}}},"walletActiveChain":{"required":["chain","chain_id"],"properties":{"chain":{"type":"string","description":"The chain name","example":"eth"},"chain_id":{"type":"string","description":"The chain id","example":"0x1"},"first_transaction":{"$ref":"#/components/schemas/transactionTimestamp"},"last_transaction":{"$ref":"#/components/schemas/transactionTimestamp"}}},"walletStat":{"required":["nfts","collections","transactions","nft_transfers","token_transfers"],"properties":{"nfts":{"type":"string","description":"The number of NFTs owned by a wallet","example":"100"},"collections":{"type":"string","description":"The number of unique NFT collections owned by a wallet","example":"10"},"transactions":{"type":"object","description":"Transaction stats","required":["total"],"properties":{"total":{"type":"string","description":"The number of transactions sent by a wallet","example":"1000"}}},"nft_transfers":{"type":"object","description":"NFT transfer stats","required":["total"],"properties":{"total":{"type":"string","description":"The number of NFT transfers of a wallet","example":"1000"}}},"token_transfers":{"type":"object","description":"Token transfer stats","required":["total"],"properties":{"total":{"type":"string","description":"The number of ERC20 token transfers of a wallet","example":"1000"}}}}},"nftCollectionStat":{"required":["total_tokens","owners","transfers"],"properties":{"total_tokens":{"type":"string","description":"The number of tokens in the collection","example":"100"},"owners":{"type":"object","description":"NFT collection owner stats","required":["current"],"properties":{"current":{"type":"string","description":"The number of current owners of the collection","example":"1000"}}},"transfers":{"type":"object","description":"NFT collection transfer stats","required":["total"],"properties":{"total":{"type":"string","description":"The number of transfers of the collection","example":"1000"}}}}},"nftTokenStat":{"required":["owners","transfers"],"properties":{"owners":{"type":"object","description":"NFT token owner stats","required":["current"],"properties":{"current":{"type":"string","description":"The number of current owners of the nft token","example":"1000"}}},"transfers":{"type":"object","description":"NFT token transfer stats","required":["total"],"properties":{"total":{"type":"string","description":"The number of transfers of the nft token","example":"1000"}}}}},"erc20TokenStat":{"required":["transfers"],"properties":{"transfers":{"type":"object","description":"ERC20 Token transfer stats","required":["total"],"properties":{"total":{"type":"string","description":"The number of transfers of the token","example":"1000"}}}}},"transactionTimestamp":{"required":["block_number","block_timestamp"],"properties":{"block_number":{"type":"string","description":"The block number","example":"123456789"},"block_timestamp":{"type":"string","description":"The block timestamp","example":"2022-08-23T20:58:31.000Z"},"transaction_hash":{"type":"string","description":"The hash of the transaction","example":"0x2d30ca6f024dbc1307ac8a1a44ca27de6f797ec22ef20627a1307243b0ab7d09"}}},"tokenTimestamp":{"required":["block_number","block_timestamp","transaction_hash","direction"],"properties":{"block_number":{"type":"string","description":"The block number","example":"123456789"},"block_timestamp":{"type":"string","description":"The block timestamp","example":"2021-08-23T01:00:00.000Z"},"transaction_hash":{"type":"string","description":"The hash of the transaction","example":"0x6d30ca6f024dbc1307ac8a1a44ca27de6f797ec22ef20627a1307243b0ab7d09"},"direction":{"type":"string","example":"send","enum":["send","receive"]}}},"transaction":{"required":["hash","nonce","transaction_index","from_address","value","gas","gas_price","input","receipt_cumulative_gas_used","receipt_gas_used","receipt_contract_address","receipt_root","receipt_status","block_timestamp","block_number","block_hash"],"properties":{"hash":{"type":"string","description":"The hash of the transaction","example":"0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"},"nonce":{"type":"string","description":"The nonce of the transaction","example":326595425},"transaction_index":{"type":"string","description":"The transaction index","example":25},"from_address_entity":{"type":"string","description":"The from address entity","example":"Opensea"},"from_address_entity_logo":{"type":"string","description":"The logo of the from address entity","example":"https://opensea.io/favicon.ico"},"from_address":{"type":"string","description":"The sender","example":"0xd4a3BebD824189481FC45363602b83C9c7e9cbDf"},"from_address_label":{"type":"string","nullable":true,"description":"The label of the from address","example":"Binance 1"},"to_address_entity":{"type":"string","description":"The to address entity","example":"Beaver Build"},"to_address_entity_logo":{"type":"string","description":"The logo of the to address entity","example":"https://beaverbuild.com/favicon.ico"},"to_address":{"type":"string","description":"The recipient","example":"0xa71db868318f0a0bae9411347cd4a6fa23d8d4ef"},"to_address_label":{"type":"string","nullable":true,"description":"The label of the to address","example":"Binance 2"},"value":{"type":"string","description":"The value that was transferred (in wei)","example":650000000000000000},"gas":{"type":"string","description":"The gas of the transaction","example":6721975},"gas_price":{"type":"string","description":"The gas price","example":20000000000},"input":{"type":"string","description":"The input"},"receipt_cumulative_gas_used":{"type":"string","description":"The receipt cumulative gas used","example":1340925},"receipt_gas_used":{"type":"string","description":"The receipt gas used","example":1340925},"receipt_contract_address":{"type":"string","description":"The receipt contract address","example":"0x1d6a4cf64b52f6c73f201839aded7379ce58059c"},"receipt_root":{"type":"string","description":"The receipt root"},"receipt_status":{"type":"string","description":"The receipt status","example":1},"transaction_fee":{"type":"string","description":"The transaction fee","example":"0.00034"},"block_timestamp":{"type":"string","description":"The block timestamp","example":"2021-04-02T10:07:54.000Z"},"block_number":{"type":"string","description":"The block number","example":12526958},"block_hash":{"type":"string","description":"The block hash","example":"0x0372c302e3c52e8f2e15d155e2c545e6d802e479236564af052759253b20fd86"},"internal_transactions":{"type":"array","description":"The internal transaction","items":{"$ref":"#/components/schemas/internalTransaction"}}}},"internalTransaction":{"type":"object","required":["transaction_hash","block_number","block_hash","type","from","to","value","gas","gas_used","input","output","error"],"properties":{"transaction_hash":{"type":"string","description":"The hash of the transaction","example":"0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"},"block_number":{"type":"string","description":"The block number","example":12526958},"block_hash":{"type":"string","description":"The block hash","example":"0x0372c302e3c52e8f2e15d155e2c545e6d802e479236564af052759253b20fd86"},"type":{"type":"string","description":"Call type","example":"CALL"},"from":{"type":"string","description":"The sender","example":"0xd4a3BebD824189481FC45363602b83C9c7e9cbDf"},"to":{"type":"string","description":"The recipient","example":"0xa71db868318f0a0bae9411347cd4a6fa23d8d4ef"},"value":{"type":"string","description":"The value that was transfered (in wei)","example":"650000000000000000"},"gas":{"type":"string","description":"The gas of the transaction","example":"6721975"},"gas_used":{"type":"string","description":"The used gas","example":"6721975"},"input":{"type":"string","description":"The input","example":"0x"},"output":{"type":"string","description":"The output","example":"0x"},"error":{"type":"string","nullable":true,"description":"Error message if the internal transaction failed","example":"Execution reverted"}}},"erc20Allowance":{"type":"object","required":["allowance"],"properties":{"allowance":{"type":"string","description":"The allowance"}}},"erc20TokenBalance":{"required":["token_address","name","symbol","decimals","balance","possible_spam"],"properties":{"token_address":{"type":"string","description":"The address of the token contract","example":"0x2d30ca6f024dbc1307ac8a1a44ca27de6f797ec22ef20627a1307243b0ab7d09"},"name":{"type":"string","description":"The name of the token contract","example":"Kylin Network"},"symbol":{"type":"string","description":"The symbol of the NFT contract","example":"KYL"},"logo":{"type":"string","description":"The logo of the token","example":"https://cdn.moralis.io/eth/0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c.png"},"thumbnail":{"type":"string","description":"The thumbnail of the logo","example":"https://cdn.moralis.io/eth/0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c_thumb.png"},"decimals":{"type":"integer","description":"The number of decimals on the token","example":18},"balance":{"type":"string","description":"Timestamp of when the contract was last synced with the node","example":"123456789"},"possible_spam":{"type":"boolean","description":"Indicates if a contract is possibly a spam contract","example":"false"},"verified_contract":{"type":"boolean","description":"Indicates if a contract is verified","example":"false"}}},"erc20TokenBalanceWithPrice":{"type":"object","required":["name","symbol","decimals","balance","possible_spam","usd_price","usd_price_24hr_percent_change","usd_price_24hr_usd_change","use_value_24hr_usd_change","usd_value","portfolio_percentage","balance_formatted","native_token"],"properties":{"token_address":{"type":"string","description":"The address of the token contract"},"name":{"type":"string","description":"The name of the token"},"symbol":{"type":"string","description":"The symbol of the token"},"logo":{"type":"string","description":"The logo of the token"},"thumbnail":{"type":"string","description":"The thumbnail of the token logo"},"decimals":{"type":"integer","description":"The number of decimals on the token"},"balance":{"type":"string","description":"The balance of the token"},"possible_spam":{"type":"boolean","description":"Indicates if a contract is possibly a spam contract"},"verified_contract":{"type":"boolean","description":"Indicates if a contract is verified"},"usd_price":{"type":"string","description":"USD price of the token"},"usd_price_24hr_percent_change":{"type":"string","description":"24-hour percent change in USD price of the token"},"usd_price_24hr_usd_change":{"type":"string","description":"24-hour change in USD price of the token"},"usd_value_24hr_usd_change":{"type":"string","description":"24-hour change in USD value of the token based on the balance"},"usd_value":{"type":"number","description":"USD value of the token balance"},"portfolio_percentage":{"type":"number","description":"Percentage of the token in the entire portfolio"},"balance_formatted":{"type":"string","description":"Balance of the token in decimal format"},"native_token":{"type":"boolean","description":"Indicates if the token is a native coin"},"total_supply":{"type":"string","description":"Total supply of the token"},"total_supply_formatted":{"type":"string","description":"Total supply of the token in decimal format"},"percentage_relative_to_total_supply":{"type":"number","description":"Percentage of the token in the total supply"}}},"erc20TokenBalanceWithPriceResult":{"required":["result"],"properties":{"page":{"type":"integer","description":"The current page of the result","example":"2"},"page_size":{"type":"integer","description":"The number of results per page","example":"100"},"block_number":{"type":"string","description":"The block number of the transaction","example":"13680123"},"cursor":{"type":"string","description":"The cursor to get to the next page"},"result":{"type":"array","items":{"$ref":"#/components/schemas/erc20TokenBalanceWithPrice"}}}},"nativeBalance":{"type":"object","required":["balance"],"properties":{"balance":{"type":"string","description":"The balance","example":"1234567890"}}},"groupedTrait":{"required":["trait_type","values"],"properties":{"trait_type":{"type":"string","description":"The trait type","example":"Background"},"values":{"type":"array","items":{"description":"The trait values","required":["trait_value","count","percentage","rarity_label"],"properties":{"trait_value":{"type":"string","description":"The trait value","example":"Lavendar"},"count":{"type":"number","description":"The total NFT in the collection with this trait","example":18593},"percentage":{"type":"number","description":"The rarity percentage of the trait","example":85.8},"rarity_label":{"type":"string","description":"The rarity label of the trait","example":"Top 4% trait"}}}}}},"trait":{"required":["trait_type","trait_value","count","percentage","rarity_label"],"properties":{"trait_type":{"type":"string","description":"The trait type","example":"Background"},"trait_value":{"type":"string","description":"The trait value","example":"Lavendar"},"count":{"type":"number","description":"The total NFT in the collection with this trait","example":18593},"percentage":{"type":"number","description":"The rarity percentage of the trait","example":85.8},"rarity_label":{"type":"string","description":"The rarity label of the trait","example":"Top 4% trait"}}},"trade":{"required":["transaction_hash","transaction_index","token_ids","seller_address","buyer_address","token_address","marketplace_address","price","block_timestamp","block_number","block_hash"],"properties":{"transaction_hash":{"type":"string","description":"The transaction hash","example":"0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"},"transaction_index":{"type":"string","description":"The transaction index"},"token_ids":{"type":"array","items":{"type":"string","example":"15"},"description":"The token ID(s) traded","example":["15","54"]},"seller_address":{"type":"string","description":"The address that sold the NFT","example":"0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"},"buyer_address":{"type":"string","description":"The address that bought the NFT","example":"0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"},"token_address":{"type":"string","description":"The address of the NFT contract","example":"0x4ad3785ec7eed7589fa86538244a4530f962434f"},"marketplace_address":{"type":"string","description":"The address of the contract that traded the NFT","example":"0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"},"price_token_address":{"type":"string","description":"The address of the token used to pay for the NFT","example":"0x60e4d786628fea6478f785a6d7e704777c86a7c6"},"price":{"type":"string","description":"The value that was sent in the transaction (ETH/BNB/etc..)","example":"1000000000000000"},"block_timestamp":{"type":"string","description":"The block timestamp","example":"2021-06-04T16:00:15"},"block_number":{"type":"string","description":"The block number of the transaction","example":"13680123"},"block_hash":{"type":"string","description":"The block hash","example":"0x4a7c916ca4a970358b9df90051008f729685ff05e9724a9dddba32630c37cb96"}}},"contractFloorPrice":{"required":["address","last_updated"],"properties":{"address":{"type":"string","description":"The address of the NFT contract","example":"0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"},"floor_price":{"type":"string","description":"The floor price of the contract","example":"0.2176"},"floor_price_usd":{"type":"string","description":"The floor price of the contract in USD","example":"564.24"},"currency":{"type":"string","description":"The currency of the floor price","example":"eth"},"marketplace":{"$ref":"#/components/schemas/marketplace","description":"The marketplace in which the floor price is present"},"last_updated":{"type":"string","description":"The timestamp of when the floor price was last updated","example":"2024-08-21T15:59:11.000Z"}}},"historicalContractFloorResponse":{"required":["result"],"properties":{"page":{"type":"integer","description":"The current page of the result","example":"1"},"page_size":{"type":"integer","description":"The number of results per page","example":"100"},"cursor":{"type":"string","description":"The cursor to get to the next page"},"result":{"type":"array","items":{"$ref":"#/components/schemas/historicalContractFloorPrice"},"description":"List of historical contract floor prices at various intervals."}}},"historicalContractFloorPrice":{"required":["timestamp"],"properties":{"floor_price":{"type":"string","description":"The floor price of the contract","example":"0.2176"},"floor_price_usd":{"type":"string","description":"The floor price of the contract in USD","example":"564.24"},"currency":{"type":"string","description":"The currency of the floor price","example":"eth"},"marketplace":{"type":"string","description":"The marketplace in which the floor price is present","example":"blur"},"timestamp":{"type":"string","description":"The timestamp of when the floor price was last updated","example":"2024-08-21T15:59:11.000Z"}}},"tokenFloorPrice":{"required":["address","token_id"],"properties":{"address":{"type":"string","description":"The address of the NFT contract","example":"0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d"},"token_id":{"type":"string","description":"The token ID of the NFT","example":"2441"},"floor_price":{"type":"string","description":"The floor price of the contract","example":"0.2176"},"floor_price_usd":{"type":"string","description":"The floor price of the contract in USD","example":"564.24"},"currency":{"type":"string","description":"The currency of the floor price","example":"eth"},"marketplace":{"$ref":"#/components/schemas/marketplace","description":"The marketplace in which the floor price is present"},"last_updated":{"type":"string","description":"The timestamp of when the floor price was last updated","example":"2024-08-21T15:59:11.000Z"}}},"marketplace":{"required":["name"],"properties":{"name":{"type":"string","description":"The name of the marketplace","example":"blur"},"logo":{"type":"string","description":"The logo of the marketplace","example":"https://cdn.moralis.io/marketplaces/blur.png"}}},"soldPrice":{"required":["last_sale","highest_sale","lowest_sale","average_sale"],"properties":{"last_sale":{"type":"object","description":"The sales price of the NFT collection","nullable":true,"required":["transaction_hash","block_timestamp","price","price_formatted","buyer_address","seller_address","payment_token"],"properties":{"transaction_hash":{"type":"string","description":"The transaction hash of the last sale"},"block_timestamp":{"type":"string","description":"The block timestamp of the last sale"},"buyer_address":{"type":"string","description":"The buyer address of the last sale"},"seller_address":{"type":"string","description":"The seller address of the last sale"},"price":{"type":"string","description":"The price of the last sale"},"price_formatted":{"type":"string","description":"The formatted price of the last sale"},"usd_price_at_sale":{"type":"string","description":"The USD price of the last sale at sale time"},"current_usd_value":{"type":"string","description":"The USD price of the last sale at the current value"},"token_id":{"type":"string","description":"The token ID that is sold"},"payment_token":{"type":"object","description":"The ERC20 token that is being traded with","required":["token_name","token_symbol","token_logo","token_decimals","token_address"],"properties":{"token_name":{"type":"string","description":"The token name"},"token_symbol":{"type":"string","description":"The token symbol"},"token_logo":{"type":"string","description":"The token logo"},"token_decimals":{"type":"string","description":"The token decimals"},"token_address":{"type":"string","description":"The token address"}}}}},"lowest_sale":{"type":"object","description":"The lowest sale of the NFT collection","nullable":true,"required":["transaction_hash","block_timestamp","price","price_formatted","payment_token"],"properties":{"transaction_hash":{"type":"string","description":"The transaction hash of the last sale"},"block_timestamp":{"type":"string","description":"The block timestamp of the last sale"},"buyer_address":{"type":"string","description":"The buyer address of the last sale"},"seller_address":{"type":"string","description":"The seller address of the last sale"},"price":{"type":"string","description":"The price of the last sale"},"price_formatted":{"type":"string","description":"The formatted price of the last sale"},"usd_price_at_sale":{"type":"string","description":"The USD price of the last sale at sale time"},"current_usd_value":{"type":"string","description":"The USD price of the last sale at the current value"},"token_id":{"type":"string","description":"The token ID that is sold"},"payment_token":{"type":"object","description":"The ERC20 token that is being traded with","required":["token_name","token_symbol","token_logo","token_decimals","token_address"],"properties":{"token_name":{"type":"string","description":"The token name"},"token_symbol":{"type":"string","description":"The token symbol"},"token_logo":{"type":"string","description":"The token logo"},"token_decimals":{"type":"string","description":"The token decimals"},"token_address":{"type":"string","description":"The token address"}}}}},"highest_sale":{"type":"object","description":"The highest sale of the NFT collection","nullable":true,"required":["transaction_hash","block_timestamp","price","price_formatted","payment_token"],"properties":{"transaction_hash":{"type":"string","description":"The transaction hash of the last sale"},"block_timestamp":{"type":"string","description":"The block timestamp of the last sale"},"buyer_address":{"type":"string","description":"The buyer address of the last sale"},"seller_address":{"type":"string","description":"The seller address of the last sale"},"price":{"type":"string","description":"The price of the last sale"},"price_formatted":{"type":"string","description":"The formatted price of the last sale"},"usd_price_at_sale":{"type":"string","description":"The USD price of the last sale at sale time"},"current_usd_value":{"type":"string","description":"The USD price of the last sale at the current value"},"token_id":{"type":"string","description":"The token ID that is sold"},"payment_token":{"type":"object","description":"The ERC20 token that is being traded with","required":["token_name","token_symbol","token_logo","token_decimals","token_address"],"properties":{"token_name":{"type":"string","description":"The token name"},"token_symbol":{"type":"string","description":"The token symbol"},"token_logo":{"type":"string","description":"The token logo"},"token_decimals":{"type":"string","description":"The token decimals"},"token_address":{"type":"string","description":"The token address"}}}}},"average_sale":{"type":"object","description":"The average sale of the NFT collection","nullable":true,"required":["price","price_formatted"],"properties":{"price":{"type":"string","description":"The price of the average sale"},"price_formatted":{"type":"string","description":"The formatted price of the average sale"},"current_usd_value":{"type":"string","description":"The USD price of the last sale at the current value"}}},"total_trades":{"type":"number","description":"The total trades in the timeframe","nullable":true},"message":{"type":"string","description":"The error message (if any)"}}},"groupedTraitCollection":{"required":["result"],"properties":{"traits":{"type":"array","items":{"$ref":"#/components/schemas/groupedTrait"}}}},"traitCollection":{"required":["result"],"properties":{"page":{"type":"integer","description":"The current page of the result","example":"2"},"page_size":{"type":"integer","description":"The number of results per page","example":"100"},"cursor":{"type":"string","description":"The cursor to get to the next page"},"result":{"type":"array","items":{"$ref":"#/components/schemas/trait"}}}},"tradeCollection":{"required":["result"],"properties":{"page":{"type":"integer","description":"The current page of the result","example":"2"},"page_size":{"type":"integer","description":"The number of results per page","example":"100"},"cursor":{"type":"string","description":"The cursor to get to the next page"},"result":{"type":"array","items":{"$ref":"#/components/schemas/trade"}}}},"includeList":{"type":"string","example":"","default":"","enum":["internal_transactions"]},"defiProtocolList":{"type":"string","example":"uniswap-v3","default":"uniswap-v3","enum":["uniswap-v2","uniswap-v3","pancakeswap-v2","pancakeswap-v3","quickswap-v2","quickswap-v3","sushiswap-v2","aave-v2","aave-v3","aave-lido","fraxswap-v1","fraxswap-v2","lido","makerdao","eigenlayer","pendle","etherfi","rocketpool","sparkfi","takara-lend","neverland","kintsu"]},"chainList":{"type":"string","example":"eth","default":"eth","enum":["eth","0x1","sepolia","0xaa36a7","polygon","0x89","bsc","0x38","bsc testnet","0x61","avalanche","0xa86a","fantom","0xfa","cronos","0x19","arbitrum","0xa4b1","chiliz","0x15b38","chiliz testnet","0x15b32","gnosis","0x64","gnosis testnet","0x27d8","base","0x2105","base sepolia","0x14a34","optimism","0xa","polygon amoy","0x13882","linea","0xe708","moonbeam","0x504","moonriver","0x505","moonbase","0x507","linea sepolia","0xe705","flow","0x2eb","flow-testnet","0x221","ronin","0x7e4","ronin-testnet","0x31769","lisk","0x46f","lisk-sepolia","0x106a","pulse","0x171","sei-testnet","0x530","sei","0x531","monad","0x8f"]},"chainListWithSolana":{"type":"string","example":"eth","default":"eth","enum":["eth","0x1","sepolia","0xaa36a7","polygon","0x89","bsc","0x38","bsc testnet","0x61","avalanche","0xa86a","fantom","0xfa","cronos","0x19","arbitrum","0xa4b1","chiliz","0x15b38","chiliz testnet","0x15b32","gnosis","0x64","gnosis testnet","0x27d8","base","0x2105","base sepolia","0x14a34","optimism","0xa","polygon amoy","0x13882","linea","0xe708","moonbeam","0x504","moonriver","0x505","moonbase","0x507","linea sepolia","0xe705","flow","0x2eb","flow-testnet","0x221","ronin","0x7e4","ronin-testnet","0x31769","lisk","0x46f","lisk-sepolia","0x106a","pulse","0x171","sei-testnet","0x530","sei","0x531","monad","0x8f","solana"]},"nftFloorPriceIntervalList":{"type":"string","example":"1d","default":"1d","enum":["1d","7d","30d","60d","90d","1y","all"]},"orderList":{"type":"string","example":"DESC","default":"DESC","enum":["ASC","DESC"]},"nft":{"required":["token_address","token_id","contract_type","name","symbol","possible_spam"],"properties":{"token_address":{"type":"string","description":"The address of the NFT contract","example":"0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB"},"token_id":{"type":"string","description":"The token ID of the NFT","example":"15"},"owner_of":{"type":"string","description":"The wallet address of the owner of the NFT","example":"0x9c83ff0f1c8924da96cb2fcb7e093f78eb2e316b"},"token_hash":{"type":"string","description":"The token hash","example":"502cee781b0fb40ea02508b21d319ced"},"block_number":{"type":"string","description":"The block number when the amount or owner changed","example":"88256"},"block_number_minted":{"type":"string","description":"The block number when the NFT was minted","example":"88256"},"contract_type":{"type":"string","description":"The type of NFT contract standard","example":"ERC721"},"token_uri":{"type":"string","description":"The URI to the metadata of the token"},"metadata":{"type":"string","description":"The metadata of the token"},"normalized_metadata":{"$ref":"#/components/schemas/normalizedMetadata","description":"A normalized metadata version of the NFT's metadata."},"media":{"$ref":"#/components/schemas/media","description":"A set of links to 'thumbnail / preview' media files"},"minter_address":{"type":"string","description":"The address that minted the NFT","example":"0x9c83ff0f1c8924da96cb2fcb7e093f78eb2e316b"},"last_token_uri_sync":{"type":"string","description":"When the token_uri was last updated"},"last_metadata_sync":{"type":"string","description":"When the metadata was last updated"},"amount":{"type":"string","description":"The quantity of this item that the user owns (used by ERC1155)","example":"1"},"name":{"type":"string","description":"The name of the NFT contract","example":"CryptoKitties"},"symbol":{"type":"string","description":"The symbol of the NFT contract","example":"RARI"},"possible_spam":{"type":"boolean","description":"Indicates if a contract is possibly a spam contract","example":"false"},"verified_collection":{"type":"boolean","description":"Indicates if a contract is verified","example":"false"},"rarity_rank":{"type":"number","description":"The rarity rank","example":21669},"rarity_percentage":{"type":"number","description":"The rarity percentage","example":98},"rarity_label":{"type":"string","description":"The rarity label","example":"Top 98%"},"last_sale":{"type":"object","description":"Details about the most recent sale involving this token.","nullable":true,"required":["transaction_hash","block_timestamp","price","price_formatted","buyer_address","seller_address","payment_token"],"properties":{"transaction_hash":{"type":"string","description":"The transaction hash of the last sale","example":"0x19e14f34b8f120c980f7ba05338d64c00384857fb9c561e2c56d0f575424a95c"},"block_timestamp":{"type":"string","description":"The block timestamp of the last sale","example":"2023-04-04T15:59:11.000Z"},"buyer_address":{"type":"string","description":"The buyer address of the last sale","example":"0xcb1c1fde09f811b294172696404e88e658659905"},"seller_address":{"type":"string","description":"The seller address of the last sale","example":"0x497a7dee2f13db161eb2fec060fa783cb041419f"},"price":{"type":"string","description":"The price of the last sale","example":"7300000000000000"},"price_formatted":{"type":"string","description":"The formatted price of the last sale","example":"0.0073"},"usd_price_at_sale":{"type":"string","description":"The USD price of the last sale","example":"13.61"},"current_usd_value":{"type":"string","description":"The USD price of the last sale at the current value","example":"15.53"},"token_address":{"type":"string","description":"The token address that is sold","example":"0xe8778996e096b39705c6a0a937eb587a1ebbda17"},"token_id":{"type":"string","description":"The token ID that is sold","example":"170"},"payment_token":{"type":"object","description":"The ERC20 token that is being traded with","required":["token_name","token_symbol","token_logo","token_decimals","token_address"],"properties":{"token_name":{"type":"string","description":"The token name","example":"Ether"},"token_symbol":{"type":"string","description":"The token symbol","example":"ETH"},"token_logo":{"type":"string","description":"The token logo","example":"https://cdn.moralis.io/eth/0x.png"},"token_decimals":{"type":"string","description":"The token decimals","example":"18"},"token_address":{"type":"string","description":"The token address","example":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"}}}}},"list_price":{"type":"object","properties":{"listed":{"type":"boolean","description":"Indicates if the NFT is listed for sale","example":true},"price":{"type":"string","description":"The price of the NFT","example":"27008"},"price_currency":{"type":"string","description":"The currency of the price","example":"eth"},"price_usd":{"type":"string","description":"The price of the NFT in USD","example":"13.61"},"marketplace":{"type":"string","description":"The marketplace where the NFT is listed","example":"opensea"}}},"floor_price":{"type":"string","description":"The floor price of collection the NFT belongs to","example":"12345"},"floor_price_usd":{"type":"string","description":"The floor price of the contract in USD","example":"12345.4899"},"floor_price_currency":{"type":"string","description":"The currency of the floor price","example":"eth"}}},"nftWalletCollections":{"required":["result"],"properties":{"status":{"type":"string","description":"The syncing status of the address [SYNCING/SYNCED]","example":"SYNCING"},"page":{"type":"integer","description":"The current page of the result","example":"2"},"page_size":{"type":"integer","description":"The number of results per page","example":"100"},"cursor":{"type":"string","description":"The cursor to get to the next page"},"result":{"type":"array","items":{"$ref":"#/components/schemas/nftCollections"}}}},"nftCollection":{"required":["result"],"properties":{"page":{"type":"integer","description":"The current page of the result","example":"2"},"page_size":{"type":"integer","description":"The number of results per page","example":"100"},"cursor":{"type":"string","description":"The cursor to get to the next page"},"result":{"type":"array","items":{"$ref":"#/components/schemas/nft"}}}},"nftCollections":{"required":["token_address","contract_type","name","symbol","possible_spam","verified_collection"],"properties":{"token_address":{"type":"string","description":"The address of the NFT contract","example":"0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB"},"contract_type":{"type":"string","description":"The type of NFT contract standard","example":"ERC721"},"name":{"type":"string","description":"The name of the NFT contract","example":"CryptoKitties"},"symbol":{"type":"string","description":"The symbol of the NFT contract","example":"RARI"},"possible_spam":{"type":"boolean","description":"Indicates if a contract is possibly a spam contract","example":"false"},"verified_collection":{"type":"boolean","description":"Indicates if a contract is verified","example":"false"},"count":{"type":"integer","description":"The number of tokens the wallet holds in this collection","example":5},"collection_logo":{"type":"string","description":"The logo of the collection","example":"https://cdn.moralis.io/eth/0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c.png"},"collection_banner_image":{"type":"string","description":"The banner image of the collection","example":"https://cdn.moralis.io/eth/0x67b6d479c7bb412c54e03dca8e1bc6740ce6b99c.png"},"floor_price":{"type":"string","description":"The floor price of the contract","example":"12345"},"floor_price_usd":{"type":"string","description":"The floor price of the contract in USD","example":"12345.4899"},"floor_price_currency":{"type":"string","description":"The currency of the floor price","example":"eth"},"last_sale":{"type":"object","description":"Details about the most recent sale involving this token.","nullable":true,"required":["transaction_hash","block_timestamp","price","price_formatted","buyer_address","seller_address","payment_token"],"properties":{"transaction_hash":{"type":"string","description":"The transaction hash of the last sale","example":"0x19e14f34b8f120c980f7ba05338d64c00384857fb9c561e2c56d0f575424a95c"},"block_timestamp":{"type":"string","description":"The block timestamp of the last sale","example":"2023-04-04T15:59:11.000Z"},"buyer_address":{"type":"string","description":"The buyer address of the last sale","example":"0xcb1c1fde09f811b294172696404e88e658659905"},"seller_address":{"type":"string","description":"The seller address of the last sale","example":"0x497a7dee2f13db161eb2fec060fa783cb041419f"},"price":{"type":"string","description":"The price of the last sale","example":"7300000000000000"},"price_formatted":{"type":"string","description":"The formatted price of the last sale","example":"0.0073"},"usd_price_at_sale":{"type":"string","description":"The USD price of the last sale","example":"13.61"},"current_usd_value":{"type":"string","description":"The USD price of the last sale at the current value","example":"15.53"},"token_address":{"type":"string","description":"The token address that is sold","example":"0xe8778996e096b39705c6a0a937eb587a1ebbda17"},"token_id":{"type":"string","description":"The token ID that is sold","example":"170"},"payment_token":{"type":"object","description":"The ERC20 token that is being traded with","required":["token_name","token_symbol","token_logo","token_decimals","token_address"],"properties":{"token_name":{"type":"string","description":"The token name","example":"Ether"},"token_symbol":{"type":"string","description":"The token symbol","example":"ETH"},"token_logo":{"type":"string","description":"The token logo","example":"https://cdn.moralis.io/eth/0x.png"},"token_decimals":{"type":"string","description":"The token decimals","example":"18"},"token_address":{"type":"string","description":"The token address","example":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"}}}}}}},"nftOwner":{"required":["token_address","token_id","contract_type","name","block_number","block_number_minted","owner_of","symbol","token_hash","last_token_uri_sync","last_metadata_sync","possible_spam"],"properties":{"token_address":{"type":"string","description":"The address of the NFT contract","example":"0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB"},"token_id":{"type":"string","description":"The token ID of the NFT","example":"15"},"contract_type":{"type":"string","description":"The type of NFT contract standard","example":"ERC721"},"owner_of":{"type":"string","description":"The wallet address of the owner of the NFT","example":"0x057Ec652A4F150f7FF94f089A38008f49a0DF88e"},"block_number":{"type":"string","description":"The block number when the amount or owner changed","example":"88256"},"block_number_minted":{"type":"string","description":"The block number when the NFT was minted","example":"88256"},"token_uri":{"type":"string","description":"The URI to the metadata of the token"},"metadata":{"type":"string","description":"The metadata of the token"},"normalized_metadata":{"$ref":"#/components/schemas/normalizedMetadata","description":"A normalized metadata version of the NFT's metadata."},"media":{"$ref":"#/components/schemas/media","description":"A set of links to 'thumbnail / preview' media files"},"amount":{"type":"string","description":"The number of this item the user owns (used by ERC1155)","example":"1"},"name":{"type":"string","description":"The name of the NFT contract","example":"CryptoKitties"},"symbol":{"type":"string","description":"The symbol of the NFT contract","example":"RARI"},"token_hash":{"type":"string","description":"The token hash","example":"502cee781b0fb40ea02508b21d319ced"},"rarity_rank":{"type":"number","description":"The rarity rank","example":21669},"rarity_percentage":{"type":"number","description":"The rarity percentage","example":98},"rarity_label":{"type":"string","description":"The rarity label","example":"Top 98%"},"last_token_uri_sync":{"type":"string","description":"When the token_uri was last updated","example":"2021-02-24T00:47:26.647Z"},"last_metadata_sync":{"type":"string","description":"When the metadata was last updated","example":"2021-02-24T00:47:26.647Z"},"possible_spam":{"type":"boolean","description":"Indicates if a contract is possibly a spam contract","example":"false"},"verified_collection":{"type":"boolean","description":"Indicates if a contract is verified","example":"false"},"floor_price":{"type":"string","description":"The floor price of the NFT","example":"12345"},"floor_price_usd":{"type":"string","description":"The floor price of the NFT in USD","example":"12345.4899"},"floor_price_currency":{"type":"string","description":"The currency of the floor price","example":"eth"},"last_sale":{"type":"object","description":"Details about the most recent sale involving this token.","nullable":true,"required":["transaction_hash","block_timestamp","price","price_formatted","buyer_address","seller_address","payment_token"],"properties":{"transaction_hash":{"type":"string","description":"The transaction hash of the last sale","example":"0x19e14f34b8f120c980f7ba05338d64c00384857fb9c561e2c56d0f575424a95c"},"block_timestamp":{"type":"string","description":"The block timestamp of the last sale","example":"2023-04-04T15:59:11.000Z"},"buyer_address":{"type":"string","description":"The buyer address of the last sale","example":"0xcb1c1fde09f811b294172696404e88e658659905"},"seller_address":{"type":"string","description":"The seller address of the last sale","example":"0x497a7dee2f13db161eb2fec060fa783cb041419f"},"price":{"type":"string","description":"The price of the last sale","example":"7300000000000000"},"price_formatted":{"type":"string","description":"The formatted price of the last sale","example":"0.0073"},"usd_price_at_sale":{"type":"string","description":"The USD price of the last sale","example":"13.61"},"current_usd_value":{"type":"string","description":"The USD price of the last sale at the current value","example":"15.53"},"token_address":{"type":"string","description":"The token address that is sold","example":"0xe8778996e096b39705c6a0a937eb587a1ebbda17"},"token_id":{"type":"string","description":"The token ID that is sold","example":"170"},"payment_token":{"type":"object","description":"The ERC20 token that is being traded with","required":["token_name","token_symbol","token_logo","token_decimals","token_address"],"properties":{"token_name":{"type":"string","description":"The token name","example":"Ether"},"token_symbol":{"type":"string","description":"The token symbol","example":"ETH"},"token_logo":{"type":"string","description":"The token logo","example":"https://cdn.moralis.io/eth/0x.png"},"token_decimals":{"type":"string","description":"The token decimals","example":"18"},"token_address":{"type":"string","description":"The token address","example":"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"}}}}}}},"normalizedMetadataAttribute":{"properties":{"trait_type":{"type":"string","description":"The trait title or descriptor","example":"Eye Color"},"value":{"type":"object","description":"The value of the attribute","example":"hazel"},"display_type":{"type":"string","description":"The type the attribute value should be displayed as","example":"string"},"max_value":{"type":"number","description":"For numeric values, the upper range","example":100},"trait_count":{"type":"number","description":"The number of possible values for this trait","example":7},"order":{"type":"number","description":"Order the trait should appear in the attribute list.","example":1}}},"normalizedMetadata":{"properties":{"name":{"type":"string","description":"The name or title of the NFT","example":"Moralis Mug"},"description":{"type":"string","description":"A detailed description of the NFT","example":"Moralis Coffee nug 3D Asset that can be used in 3D worldspaces. This NFT is presented as a flat PNG, a Unity3D Prefab and a standard fbx."},"image":{"type":"string","description":"The URL of the NFT's image","example":"https://arw2wxg84h6b.moralishost.com:2053/server/files/tNJatzsHirx4V2VAep6sc923OYGxvkpBeJttR7Ks/de504bbadadcbe30c86278342fcf2560_moralismug.png"},"external_link":{"type":"string","description":"A link to additional information","example":"https://giphy.com/gifs/loop-recursion-ting-aaODAv1iuQdgI"},"external_url":{"type":"string","description":"A link to additional information","example":"https://giphy.com/gifs/loop-recursion-ting-aaODAv1iuQdgI"},"animation_url":{"type":"string","description":"An animated version of the NFT's image","example":"https://giphy.com/gifs/food-design-donuts-o9ngTPVYW4qo8"},"attributes":{"type":"array","items":{"$ref":"#/components/schemas/normalizedMetadataAttribute"}}}},"mediaItem":{"properties":{"width":{"type":"integer","description":"The width of the preview image."},"height":{"type":"integer","description":"The height of the preview image."},"url":{"type":"string","description":"The url of the preview file."}},"required":["width","height","url"]},"mediaCollection":{"properties":{"low":{"description":"Preview media file, lowest quality (for images 100px x 100px)","$ref":"#/components/schemas/mediaItem"},"medium":{"description":"Preview media file, medium quality (for images 250px x 250px)","$ref":"#/components/schemas/mediaItem"},"high":{"description":"Preview media file, highest quality (for images 500px x 500px)","$ref":"#/components/schemas/mediaItem"}},"required":["original","low","medium","high"]},"media":{"properties":{"mimetype":{"type":"string","description":"The mimetype of the media file [see https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types]"},"category":{"enum":["image","audio","video"]},"status":{"enum":["success","processing","unsupported_media","invalid_url","host_unavailable","temporarily_unavailable"],"description":"
| success | The NFT Preview was created / retrieved successfully |
| processing | The NFT Preview was not found and has been submitted for generation. |
| unsupported_media | The mime-type of the NFT's media file indicates a type not currently supported. |
| invalid_url | The 'image' URL from the NFT's metadata is not a valid URL and cannot be processed. |
| host_unavailable | The 'image' URL from the NFT's metadata returned an HttpCode indicating the host / file is not available. |
| temporarily_unavailable | The attempt to load / parse the NFT media file failed (usually due to rate limiting) and will be tried again at next request. |