{"openapi":"3.0.0","servers":[{"url":"https://data-api.b3.fun/","description":"B3 Data API - Multi-Chain Proxy"}],"info":{"description":"Cached proxy layer for multiple blockchain APIs with 24-hour caching and automatic fallback across chains. Supports both Blockscout and ThirdWeb Insights APIs. Add ?mintlify parameter for Mintlify-compatible version.","version":"1.0.0","title":"B3 Data API - Multi-Chain Data API","contact":{"name":"B3 Team","url":"https://b3.fun"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"paths":{"/blockscout/search":{"get":{"parameters":[{"in":"query","name":"q","schema":{"type":"string","example":"USDT"}}],"summary":"Search","operationId":"search","responses":{"200":{"description":"Search Response","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SearchResultToken"},{"$ref":"#/components/schemas/SearchResultAddressOrContract"},{"$ref":"#/components/schemas/SearchResultBlock"},{"$ref":"#/components/schemas/SearchResultTransaction"}]}},"next_page_params":{"type":"object","example":{"address_hash":"0x052Ad78E3aA0b0F2D3912FD3b50a9a289CF2f7Aa","block_hash":null,"holder_count":548,"inserted_at":"2021-12-07T08:39:01.062253Z","item_type":"token","items_count":50,"name":"RealToken S 13245 Monica St Detroit MI","q":"1","transaction_hash":null}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/search"]}},"/blockscout/search/check-redirect":{"get":{"parameters":[{"in":"query","name":"q","schema":{"type":"string","example":"USDT"}}],"summary":"Search Redirect","operationId":"search redirect","responses":{"200":{"description":"Search Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultRedirect"}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/search"]}},"/blockscout/transactions":{"get":{"parameters":[{"in":"query","name":"filter","schema":{"type":"string","example":"pending | validated"}},{"in":"query","name":"type","schema":{"type":"string","example":"token_transfer,contract_creation,contract_call,coin_transfer,token_creation"}},{"in":"query","name":"method","schema":{"type":"string","example":"approve,transfer,multicall,mint,commit"}}],"summary":"Get Transactions","operationId":"get_txs","responses":{"200":{"description":"Block","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Transaction"}},"next_page_params":{"type":"object","example":{"block_number":27170298,"index":0,"items_count":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/blocks":{"get":{"parameters":[{"in":"query","name":"type","schema":{"type":"string","example":"block | uncle | reorg"}}],"summary":"Get Blocks","operationId":"get_blocks","responses":{"200":{"description":"Block","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Block"}},"next_page_params":{"type":"object","example":{"block_number":27729304,"items_count":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/blocks"]}},"/blockscout/token-transfers":{"get":{"summary":"Get Token Transfers","operationId":"get_token_transfers","responses":{"200":{"description":"Token Transfers","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TokenTransfer"}},"next_page_params":{"type":"object","example":{"block_number":27170298,"index":0}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/internal-transactions":{"get":{"summary":"Get Internal Transactions","operationId":"get_internal_transactions","responses":{"200":{"description":"Internal Transactions","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/InternalTransaction"}},"next_page_params":{"type":"object","example":{"block_number":27170298,"index":0,"transaction_index":0}}}}}}}},"tags":["blockscout/transactions"]}},"/blockscout/main-page/transactions":{"get":{"summary":"Get Main Page Transactions","operationId":"get_main_page_txs","responses":{"200":{"description":"Transactions","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Transaction"}}}}}},"tags":["blockscout/main-page"]}},"/blockscout/main-page/blocks":{"get":{"summary":"Get Main Page Blocks","operationId":"get_main_page_tokens","responses":{"200":{"description":"Blocks","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Block"}}}}}},"tags":["blockscout/main-page"]}},"/blockscout/main-page/indexing-status":{"get":{"summary":"Get Indexing Status","operationId":"get_indexing_status","responses":{"200":{"description":"Indexing Status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexingStatus"}}}}},"tags":["blockscout/main-page"]}},"/blockscout/stats":{"get":{"summary":"Get Stats Counters","operationId":"get_stats","responses":{"200":{"description":"Stats","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsResponse"}}}}},"tags":["blockscout"]}},"/blockscout/stats/charts/transactions":{"get":{"summary":"Get Transactions Chart","operationId":"get_txs_chart","responses":{"200":{"description":"Transaction Chart","content":{"application/json":{"schema":{"type":"object","required":["chart_data"],"properties":{"chart_data":{"type":"array","items":{"$ref":"#/components/schemas/TransactionChartItem"}}}}}}}},"tags":["blockscout/stats"]}},"/blockscout/stats/charts/market":{"get":{"summary":"Get Market Chart","operationId":"get_market_chart","responses":{"200":{"description":"Market Chart","content":{"application/json":{"schema":{"type":"object","required":["chart_data","available_supply"],"properties":{"available_supply":{"type":"string","example":"164918857.718061"},"chart_data":{"type":"array","items":{"$ref":"#/components/schemas/MarketChartItem"}}}}}}}},"tags":["blockscout/stats"]}},"/blockscout/transactions/{transaction_hash}":{"get":{"summary":"Get Transaction Info","operationId":"get_tx","parameters":[{"$ref":"#/components/parameters/transactionHash"}],"responses":{"200":{"description":"Transaction Info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Transaction"}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/transactions"]}},"/blockscout/transactions/{transaction_hash}/token-transfers":{"get":{"summary":"Get Transaction Token Transfers","operationId":"get_transaction_token_transfers","parameters":[{"$ref":"#/components/parameters/transactionHash"},{"in":"query","name":"type","schema":{"type":"string","example":"ERC-20,ERC-721,ERC-1155"}}],"responses":{"200":{"description":"Token Transfers","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TokenTransfer"}},"next_page_params":{"type":"object","example":{"block_number":27350206,"index":1,"items_count":50,"transaction_hash":"0xa3b401d6f3124c9d1528cd8d4b692f523d86fd88e48c391ffe9c67e4436ae5ca"}}}},"examples":{"large_1155_batch":{"$ref":"#/components/examples/TokenTransferLarge1155Batch"},"some_batches_on_the_first_page_and_one_on_the_second":{"$ref":"#/components/examples/TokenTransferSomeBatchesOnTheFirstPageAndOneOnTheSecond"},"a_lot_of_batches":{"$ref":"#/components/examples/TokenTransferALotOfBatches"}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/transactions"]}},"/blockscout/transactions/{transaction_hash}/internal-transactions":{"get":{"summary":"Get Transaction Internal Transactions","operationId":"get_transaction_internal_txs","parameters":[{"$ref":"#/components/parameters/transactionHash"}],"responses":{"200":{"description":"Internal Transactions","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/InternalTransaction"}},"next_page_params":{"type":"object","example":{"block_number":27350206,"index":1,"items_count":50,"transaction_index":0}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/transactions"]}},"/blockscout/transactions/{transaction_hash}/logs":{"get":{"summary":"Get Transaction Logs","operationId":"get_transaction_logs","parameters":[{"$ref":"#/components/parameters/transactionHash"}],"responses":{"200":{"description":"Internal Transactions","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Log"}},"next_page_params":{"type":"object","example":{"index":0,"items_count":50,"block_number":2}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/transactions"]}},"/blockscout/transactions/{transaction_hash}/raw-trace":{"get":{"summary":"Get Transaction Raw Trace","operationId":"get_transaction_raw_trace","parameters":[{"$ref":"#/components/parameters/transactionHash"}],"responses":{"200":{"description":"Raw Trace","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RawTrace"}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/transactions"]}},"/blockscout/transactions/{transaction_hash}/state-changes":{"get":{"summary":"Get Transaction State Changes","operationId":"get_transaction_state_changes","parameters":[{"$ref":"#/components/parameters/transactionHash"}],"responses":{"200":{"description":"State Changes","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/StateChange"}},"next_page_params":{"type":"object","example":{"items_count":1,"state_changes":null}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/transactions"]}},"/blockscout/transactions/{transaction_hash}/summary":{"get":{"summary":"Get Human-Readable Transaction Summary","operationId":"get_transaction_summary","parameters":[{"$ref":"#/components/parameters/transactionHash"}],"responses":{"200":{"description":"Human-Readable Transaction Summary","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionSummary"}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/transactions"]}},"/blockscout/blocks/{block_number_or_hash}":{"get":{"summary":"Get Block Info","operationId":"get_block","parameters":[{"$ref":"#/components/parameters/blockNumberOrHash"}],"responses":{"200":{"description":"Block","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Block"}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/blocks"]}},"/blockscout/blocks/{block_number_or_hash}/transactions":{"get":{"summary":"Get Block Transactions","operationId":"get_block_txs","parameters":[{"$ref":"#/components/parameters/blockNumberOrHash"}],"responses":{"200":{"description":"Block","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Transaction"}},"next_page_params":{"type":"object","example":{"block_number":27736955,"index":4,"items_count":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/blocks"]}},"/blockscout/blocks/{block_number_or_hash}/withdrawals":{"get":{"summary":"Get Block Withdrawals","operationId":"get_block_withdrawals","parameters":[{"$ref":"#/components/parameters/blockNumberOrHash"}],"responses":{"200":{"description":"block's withdrawals (pay attention that block_number together with timestamp fields is not included to response in this endpoint)","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Withdrawal"}},"next_page_params":{"type":"object","example":{"index":1,"items_count":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/blocks"]}},"/blockscout/addresses":{"get":{"summary":"Get Native Coin Holders List","operationId":"get_addresses","responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"type":"object","required":["exchange_rate","total_supply","items","next_page_params"],"properties":{"exchange_rate":{"type":"string","example":"0.01"},"total_supply":{"type":"string","example":"100000000"},"items":{"type":"array","items":{"$ref":"#/components/schemas/AddressWithTxCount"}},"next_page_params":{"type":"object","example":{"fetched_coin_balance":"269536604956070000000","hash":"0xf74769d9ffe1cd17f20b283995cf9e7fa2a262ed","items_count":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/addresses/{address_hash}":{"get":{"summary":"Get Address Info","operationId":"get_address","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Address"}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/addresses/{address_hash}/counters":{"get":{"summary":"Get Address Counters","operationId":"get_address_counters","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddressCounters"}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/addresses/{address_hash}/transactions":{"get":{"summary":"Get Address Transactions","operationId":"get_address_txs","parameters":[{"$ref":"#/components/parameters/addressHash"},{"in":"query","name":"filter","schema":{"type":"string","example":"to | from"}}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Transaction"}},"next_page_params":{"type":"object","example":{"block_number":27736955,"index":4,"items_count":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/addresses/{address_hash}/token-transfers":{"get":{"summary":"Get Address Token Transfers","operationId":"get_address_token_transfers","parameters":[{"$ref":"#/components/parameters/addressHash"},{"in":"query","name":"type","schema":{"type":"string","example":"ERC-20,ERC-721,ERC-1155"}},{"in":"query","name":"filter","schema":{"type":"string","example":"to | from"}},{"in":"query","name":"token","schema":{"type":"string","example":"0xb81afe27c103bcd42f4026cf719af6d802928765"}}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TokenTransfer"}},"next_page_params":{"type":"object","example":{"block_number":27736955,"index":4}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/addresses/{address_hash}/internal-transactions":{"get":{"summary":"Get Address Internal Transactions","operationId":"get_address_internal_txs","parameters":[{"$ref":"#/components/parameters/addressHash"},{"in":"query","name":"filter","schema":{"type":"string","example":"to | from"}}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/InternalTransaction"}},"next_page_params":{"type":"object","example":{"block_number":27625575,"index":0,"items_count":50,"transaction_index":0}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/transactions"]}},"/blockscout/addresses/{address_hash}/logs":{"get":{"summary":"Get Address Logs","operationId":"get_address_logs","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Log"}},"next_page_params":{"type":"object","example":{"block_number":27736955,"index":68,"items_count":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/addresses/{address_hash}/blocks-validated":{"get":{"summary":"Get Blocks Validated by Address","operationId":"get_address_blocks_validated","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Block"}},"next_page_params":{"type":"object","example":{"block_number":27736955,"items_count":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/blocks"]}},"/blockscout/addresses/{address_hash}/token-balances":{"get":{"summary":"Get All Tokens Balances for the Address","operationId":"get_address_token_balances","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/TokenBalance"}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/addresses/{address_hash}/tokens":{"get":{"summary":"Token Balances with Filtering and Pagination","operationId":"get_address_tokens","parameters":[{"$ref":"#/components/parameters/addressHash"},{"in":"query","name":"type","schema":{"type":"string","example":"ERC-20,ERC-721,ERC-1155"}}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TokenBalance"}},"next_page_params":{"type":"object","example":{"items_count":50,"token_name":null,"token_type":"ERC-1155","value":14}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/addresses/{address_hash}/coin-balance-history":{"get":{"summary":"Get Address Coin Balance History","operationId":"get_address_coin_balance_history","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/CoinBalanceHistoryEntry"}},"next_page_params":{"type":"object","example":{"block_number":27736955,"items_count":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/addresses/{address_hash}/coin-balance-history-by-day":{"get":{"summary":"Get Address Coin Balance History by Day","operationId":"get_address_coin_balance_history_by_day","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CoinBalanceHistoryByDaysEntry"}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/addresses/{address_hash}/withdrawals":{"get":{"summary":"Get Address Withdrawals","operationId":"get_address_withdrawals","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"pay attention that receiver field is not included to response in this endpoint","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Withdrawal"}},"next_page_params":{"type":"object","example":{"index":1,"items_count":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/addresses/{address_hash}/nft":{"get":{"summary":"Get List of NFT Owned by Address","operationId":"get_address_nft","parameters":[{"$ref":"#/components/parameters/addressHash"},{"in":"query","name":"type","schema":{"type":"string","example":"ERC-721,ERC-404,ERC-1155"}}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/AddressNFTInstance"}},"next_page_params":{"type":"object","example":{"token_contract_address_hash":"0xb81afe27c103bcd42f4026cf719af6d802928765","token_id":"1011","token_type":"ERC-721"}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/addresses/{address_hash}/nft/collections":{"get":{"summary":"Get List of NFT Owned by Address, Grouped by Collection","operationId":"get_address_nft_collections","parameters":[{"$ref":"#/components/parameters/addressHash"},{"in":"query","name":"type","schema":{"type":"string","example":"ERC-721,ERC-404,ERC-1155"}}],"responses":{"200":{"description":"Address","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/AddressNFTCollection"}},"next_page_params":{"type":"object","example":{"token_contract_address_hash":"0xb81afe27c103bcd42f4026cf719af6d802928765","token_type":"ERC-721"}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/tokens":{"get":{"summary":"Get Tokens List","operationId":"get_tokens_list","parameters":[{"in":"query","name":"q","schema":{"type":"string","example":"USDT"}},{"in":"query","name":"type","schema":{"type":"string","example":"ERC-20,ERC-721,ERC-1155"}}],"responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TokenInfo"}},"next_page_params":{"type":"object","example":{"contract_address_hash":"0x68749665ff8d2d112fa859aa293f07a622782f38","holder_count":1011,"is_name_null":false,"items_count":50,"market_cap":"482534473.2170469","name":"Tether Gold"}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/tokens/{address_hash}":{"get":{"summary":"Get Token Info","operationId":"get_token","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenInfo"}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/tokens/{address_hash}/transfers":{"get":{"summary":"Get Token Token Transfers","operationId":"get_token_token_transfers","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TokenTransfer"}},"next_page_params":{"type":"object","example":{"block_number":27736955,"index":61}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/tokens/{address_hash}/holders":{"get":{"summary":"Get Token Holders","operationId":"get_token_holders","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Holder"}},"next_page_params":{"type":"object","example":{"items_count":2,"value":790000000000000000000}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/tokens/{address_hash}/counters":{"get":{"summary":"Get Token Holders","operationId":"get_token_counters","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenCounters"}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/tokens/{address_hash}/instances":{"get":{"summary":"Get NFT Instances","operationId":"get_nft_instances","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/NFTInstance"}},"next_page_params":{"type":"object","example":{"unique_token":97464}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/tokens/{address_hash}/instances/{id}":{"get":{"summary":"Get NFT Instance by ID","operationId":"get_nft_instance","parameters":[{"$ref":"#/components/parameters/addressHash"},{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NFTInstance"}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/tokens/{address_hash}/instances/{id}/transfers":{"get":{"summary":"Get Transfers of NFT Instance","operationId":"get_nft_instance_transfers","parameters":[{"$ref":"#/components/parameters/addressHash"},{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/TokenTransfer"}},"next_page_params":{"type":"object","example":{"block_number":27736955,"index":61,"token_id":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/tokens/{address_hash}/instances/{id}/holders":{"get":{"summary":"Get Token Instance Holders","operationId":"get_token_instance_holders","parameters":[{"$ref":"#/components/parameters/addressHash"},{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Holder"}},"next_page_params":{"type":"object","example":{"value":790000000000000000000,"token_id":"953848","items_count":50}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/tokens/{address_hash}/instances/{id}/transfers-count":{"get":{"summary":"Get Transfers Count of NFT Instance","operationId":"get_nft_instance_transfers_count","parameters":[{"$ref":"#/components/parameters/addressHash"},{"$ref":"#/components/parameters/id"}],"responses":{"200":{"description":"Token","content":{"application/json":{"schema":{"type":"object","required":["transfers_count"],"properties":{"transfers_count":{"type":"integer","example":10}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout/tokens"]}},"/blockscout/tokens/{address_hash}/instances/{id}/refetch-metadata":{"patch":{"summary":"Re-fetch Token Instance Metadata","operationId":"refetch_token_instance_metadata","parameters":[{"$ref":"#/components/parameters/addressHash"},{"$ref":"#/components/parameters/id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecaptchaBody"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"message":{"type":"string","example":"OK"}}}}}},"403":{"description":"Invalid reCAPTCHA response","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"message":{"type":"string","example":"Invalid reCAPTCHA response"}}}}}}},"tags":["blockscout/tokens"]}},"/blockscout/smart-contracts":{"get":{"summary":"Get Verified Smart Contracts","operationId":"get_smart_contracts","parameters":[{"in":"query","name":"q","schema":{"type":"string","example":"proxy"}},{"in":"query","name":"filter","schema":{"type":"string","example":"vyper | solidity | yul"}}],"responses":{"200":{"description":"Smart Contract","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/SmartContractForList"}},"next_page_params":{"type":"object","example":{"items_count":50,"smart_contract_id":46}}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/smart-contracts/counters":{"get":{"summary":"Get Verified Smart Contracts Counters","operationId":"get_smart_contracts_counters","responses":{"200":{"description":"Smart Contracts Counters","content":{"application/json":{"schema":{"type":"object","required":["new_smart_contracts_24h","new_verified_smart_contracts_24h","smart_contracts","verified_smart_contracts"],"properties":{"new_smart_contracts_24h":{"type":"string","example":"12"},"new_verified_smart_contracts_24h":{"type":"string","example":"11"},"smart_contracts":{"type":"string","example":"20"},"verified_smart_contracts":{"type":"string","example":"15"}}}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/smart-contracts/{address_hash}":{"get":{"summary":"Get Smart Contract","operationId":"get_smart_contract","parameters":[{"$ref":"#/components/parameters/addressHash"}],"responses":{"200":{"description":"Smart Contract","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartContract"}}}},"400":{"description":"Bad Input Parameter"}},"tags":["blockscout"]}},"/blockscout/config/json-rpc-url":{"get":{"summary":"Get JSON RPC URL","operationId":"get_json_rpc_url","responses":{"200":{"description":"JSON RPC URL","content":{"application/json":{"schema":{"type":"object","required":["json_rpc_url"],"properties":{"json_rpc_url":{"type":"string","example":"https://core.poa.network"}}}}}}},"tags":["blockscout"]}},"/blockscout/withdrawals":{"get":{"summary":"Get Withdrawals","operationId":"get_withdrawals","responses":{"200":{"description":"Withdrawals","content":{"application/json":{"schema":{"type":"object","required":["items","next_page_params"],"properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Withdrawal"}},"next_page_params":{"type":"object","example":{"index":1,"items_count":50}}}}}}}},"tags":["blockscout"]}},"/blockscout/proxy/account-abstraction/status":{"get":{"summary":"Get Account Abstraction Indexing Status","operationId":"get_account_abstraction_status","responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1IndexerStatus"}}}},"500":{"description":"Unexpected Error"}},"tags":["blockscout"]}},"/blockscout/api/v1/celestia/blob":{"get":{"operationId":"CelestiaService_GetBlob","responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1CelestiaBlob"}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rpcStatus"}}}}},"parameters":[{"name":"height","in":"query","required":false,"schema":{"type":"string","format":"uint64"}},{"name":"commitment","in":"query","required":false,"schema":{"type":"string"}},{"name":"skipData","in":"query","required":false,"schema":{"type":"boolean"}}],"tags":["blockscout"]}},"/blockscout/api/v1/celestia/l2BatchMetadata":{"get":{"operationId":"CelestiaService_GetL2BatchMetadata","responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1CelestiaL2BatchMetadata"}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rpcStatus"}}}}},"parameters":[{"name":"height","in":"query","required":false,"schema":{"type":"string","format":"uint64"}},{"name":"namespace","in":"query","required":false,"schema":{"type":"string"}},{"name":"commitment","in":"query","required":false,"schema":{"type":"string"}}],"tags":["blockscout"]}},"/blockscout/health":{"get":{"summary":"If the requested service is unknown, the call will fail with status\nNOT_FOUND.","operationId":"Health_Check","responses":{"200":{"description":"A successful response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/v1HealthCheckResponse"}}}},"default":{"description":"An unexpected error response.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rpcStatus"}}}}},"parameters":[{"name":"service","in":"query","required":false,"schema":{"type":"string"}}],"tags":["blockscout"]}},"/insights/v1/events":{"get":{"description":"Get events","summary":"Get events","tags":["insights/events"],"parameters":[{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/filterBlockNumber"},{"$ref":"#/components/parameters/filterBlockNumberGte"},{"$ref":"#/components/parameters/filterBlockNumberGt"},{"$ref":"#/components/parameters/filterBlockNumberLte"},{"$ref":"#/components/parameters/filterBlockNumberLt"},{"$ref":"#/components/parameters/filterBlockHash"},{"$ref":"#/components/parameters/filterBlockTimestamp"},{"$ref":"#/components/parameters/filterBlockTimestampGte"},{"$ref":"#/components/parameters/filterBlockTimestampGt"},{"$ref":"#/components/parameters/filterBlockTimestampLte"},{"$ref":"#/components/parameters/filterBlockTimestampLt"},{"$ref":"#/components/parameters/sortBy"},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/groupBy"},{"$ref":"#/components/parameters/aggregate"},{"$ref":"#/components/parameters/filterTransactionIndex"},{"$ref":"#/components/parameters/filterTransactionIndexGte"},{"$ref":"#/components/parameters/filterTransactionIndexGt"},{"$ref":"#/components/parameters/filterTransactionIndexLte"},{"$ref":"#/components/parameters/filterTransactionIndexLt"},{"$ref":"#/components/parameters/decode"},{"$ref":"#/components/parameters/filterTransactionHash"},{"$ref":"#/components/parameters/filterLogIndex"},{"$ref":"#/components/parameters/filterLogIndexGte"},{"$ref":"#/components/parameters/filterLogIndexGt"},{"$ref":"#/components/parameters/filterLogIndexLte"},{"$ref":"#/components/parameters/filterLogIndexLt"},{"$ref":"#/components/parameters/filterTopic_1"},{"$ref":"#/components/parameters/filterTopic_2"},{"$ref":"#/components/parameters/filterTopic_3"},{"$ref":"#/components/parameters/filterTopic_0"},{"$ref":"#/components/parameters/filterAddress"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"block_number":{"type":"number"},"block_hash":{"type":"string"},"block_timestamp":{"type":"number"},"transaction_hash":{"type":"string"},"transaction_index":{"type":"number"},"log_index":{"type":"number"},"address":{"type":"string"},"data":{"type":"string"},"topics":{"type":"array","items":{"type":"string"}},"decoded":{"type":"object","properties":{"name":{"type":"string"},"signature":{"type":"string"},"indexed_params":{"type":"object","properties":{}},"non_indexed_params":{"type":"object","properties":{}}},"required":["name","signature","indexed_params","non_indexed_params"]}},"required":["chain_id","block_number","block_hash","block_timestamp","transaction_hash","transaction_index","log_index","address","data","topics"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_ids":{"type":"array","items":{"type":"number"}},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit_per_chain":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_ids","page","limit_per_chain","total_items","total_pages"]}},"required":["meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/events/{contractAddress}":{"get":{"description":"Get contract events","summary":"Get contract events","tags":["insights/events"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/filterBlockNumber"},{"$ref":"#/components/parameters/filterBlockNumberGte"},{"$ref":"#/components/parameters/filterBlockNumberGt"},{"$ref":"#/components/parameters/filterBlockNumberLte"},{"$ref":"#/components/parameters/filterBlockNumberLt"},{"$ref":"#/components/parameters/filterBlockHash"},{"$ref":"#/components/parameters/filterBlockTimestamp"},{"$ref":"#/components/parameters/filterBlockTimestampGte"},{"$ref":"#/components/parameters/filterBlockTimestampGt"},{"$ref":"#/components/parameters/filterBlockTimestampLte"},{"$ref":"#/components/parameters/filterBlockTimestampLt"},{"$ref":"#/components/parameters/sortBy"},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/groupBy"},{"$ref":"#/components/parameters/aggregate"},{"$ref":"#/components/parameters/filterTransactionIndex"},{"$ref":"#/components/parameters/filterTransactionIndexGte"},{"$ref":"#/components/parameters/filterTransactionIndexGt"},{"$ref":"#/components/parameters/filterTransactionIndexLte"},{"$ref":"#/components/parameters/filterTransactionIndexLt"},{"$ref":"#/components/parameters/decode"},{"$ref":"#/components/parameters/filterTransactionHash"},{"$ref":"#/components/parameters/filterLogIndex"},{"$ref":"#/components/parameters/filterLogIndexGte"},{"$ref":"#/components/parameters/filterLogIndexGt"},{"$ref":"#/components/parameters/filterLogIndexLte"},{"$ref":"#/components/parameters/filterLogIndexLt"},{"$ref":"#/components/parameters/filterTopic_1"},{"$ref":"#/components/parameters/filterTopic_2"},{"$ref":"#/components/parameters/filterTopic_3"},{"$ref":"#/components/parameters/filterTopic_0"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"block_number":{"type":"number"},"block_hash":{"type":"string"},"block_timestamp":{"type":"number"},"transaction_hash":{"type":"string"},"transaction_index":{"type":"number"},"log_index":{"type":"number"},"address":{"type":"string"},"data":{"type":"string"},"topics":{"type":"array","items":{"type":"string"}},"decoded":{"type":"object","properties":{"name":{"type":"string"},"signature":{"type":"string"},"indexed_params":{"type":"object","properties":{}},"non_indexed_params":{"type":"object","properties":{}}},"required":["name","signature","indexed_params","non_indexed_params"]}},"required":["chain_id","block_number","block_hash","block_timestamp","transaction_hash","transaction_index","log_index","address","data","topics"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_ids":{"type":"array","items":{"type":"number"}},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit_per_chain":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_ids","page","limit_per_chain","total_items","total_pages"]}},"required":["meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/events/{contractAddress}/{signature}":{"get":{"description":"Get specific contract events","summary":"Get contract events with specific signature","tags":["insights/events"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"$ref":"#/components/parameters/signature"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/filterBlockNumber"},{"$ref":"#/components/parameters/filterBlockNumberGte"},{"$ref":"#/components/parameters/filterBlockNumberGt"},{"$ref":"#/components/parameters/filterBlockNumberLte"},{"$ref":"#/components/parameters/filterBlockNumberLt"},{"$ref":"#/components/parameters/filterBlockHash"},{"$ref":"#/components/parameters/filterBlockTimestamp"},{"$ref":"#/components/parameters/filterBlockTimestampGte"},{"$ref":"#/components/parameters/filterBlockTimestampGt"},{"$ref":"#/components/parameters/filterBlockTimestampLte"},{"$ref":"#/components/parameters/filterBlockTimestampLt"},{"$ref":"#/components/parameters/sortBy"},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/groupBy"},{"$ref":"#/components/parameters/aggregate"},{"$ref":"#/components/parameters/filterTransactionIndex"},{"$ref":"#/components/parameters/filterTransactionIndexGte"},{"$ref":"#/components/parameters/filterTransactionIndexGt"},{"$ref":"#/components/parameters/filterTransactionIndexLte"},{"$ref":"#/components/parameters/filterTransactionIndexLt"},{"$ref":"#/components/parameters/decode"},{"$ref":"#/components/parameters/filterTransactionHash"},{"$ref":"#/components/parameters/filterLogIndex"},{"$ref":"#/components/parameters/filterLogIndexGte"},{"$ref":"#/components/parameters/filterLogIndexGt"},{"$ref":"#/components/parameters/filterLogIndexLte"},{"$ref":"#/components/parameters/filterLogIndexLt"},{"$ref":"#/components/parameters/filterTopic_1"},{"$ref":"#/components/parameters/filterTopic_2"},{"$ref":"#/components/parameters/filterTopic_3"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"block_number":{"type":"number"},"block_hash":{"type":"string"},"block_timestamp":{"type":"number"},"transaction_hash":{"type":"string"},"transaction_index":{"type":"number"},"log_index":{"type":"number"},"address":{"type":"string"},"data":{"type":"string"},"topics":{"type":"array","items":{"type":"string"}},"decoded":{"type":"object","properties":{"name":{"type":"string"},"signature":{"type":"string"},"indexed_params":{"type":"object","properties":{}},"non_indexed_params":{"type":"object","properties":{}}},"required":["name","signature","indexed_params","non_indexed_params"]}},"required":["chain_id","block_number","block_hash","block_timestamp","transaction_hash","transaction_index","log_index","address","data","topics"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_ids":{"type":"array","items":{"type":"number"}},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit_per_chain":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_ids","page","limit_per_chain","total_items","total_pages"]}},"required":["meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/transactions":{"get":{"description":"Get transactions","summary":"Get transactions","tags":["insights/transactions"],"parameters":[{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/filterBlockNumber"},{"$ref":"#/components/parameters/filterBlockNumberGte"},{"$ref":"#/components/parameters/filterBlockNumberGt"},{"$ref":"#/components/parameters/filterBlockNumberLte"},{"$ref":"#/components/parameters/filterBlockNumberLt"},{"$ref":"#/components/parameters/filterBlockHash"},{"$ref":"#/components/parameters/filterBlockTimestamp"},{"$ref":"#/components/parameters/filterBlockTimestampGte"},{"$ref":"#/components/parameters/filterBlockTimestampGt"},{"$ref":"#/components/parameters/filterBlockTimestampLte"},{"$ref":"#/components/parameters/filterBlockTimestampLt"},{"$ref":"#/components/parameters/sortBy"},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/groupBy"},{"$ref":"#/components/parameters/aggregate"},{"$ref":"#/components/parameters/filterTransactionIndex"},{"$ref":"#/components/parameters/filterTransactionIndexGte"},{"$ref":"#/components/parameters/filterTransactionIndexGt"},{"$ref":"#/components/parameters/filterTransactionIndexLte"},{"$ref":"#/components/parameters/filterTransactionIndexLt"},{"$ref":"#/components/parameters/decode"},{"$ref":"#/components/parameters/filterHash"},{"$ref":"#/components/parameters/filterFromAddress"},{"$ref":"#/components/parameters/filterValue"},{"$ref":"#/components/parameters/filterValueGte"},{"$ref":"#/components/parameters/filterValueGt"},{"$ref":"#/components/parameters/filterValueLte"},{"$ref":"#/components/parameters/filterValueLt"},{"$ref":"#/components/parameters/filterGasPrice"},{"$ref":"#/components/parameters/filterGasPriceGte"},{"$ref":"#/components/parameters/filterGasPriceGt"},{"$ref":"#/components/parameters/filterGasPriceLte"},{"$ref":"#/components/parameters/filterGasPriceLt"},{"$ref":"#/components/parameters/filterGas"},{"$ref":"#/components/parameters/filterGasGte"},{"$ref":"#/components/parameters/filterGasGt"},{"$ref":"#/components/parameters/filterGasLte"},{"$ref":"#/components/parameters/filterGasLt"},{"$ref":"#/components/parameters/filterFunctionSelector"},{"$ref":"#/components/parameters/filterToAddress"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"block_number":{"type":"number"},"block_hash":{"type":"string"},"block_timestamp":{"type":"number"},"hash":{"type":"string"},"nonce":{"type":"number"},"transaction_index":{"type":"number"},"from_address":{"type":"string"},"to_address":{"type":"string"},"value":{"type":"string"},"gas_price":{"type":"string"},"gas":{"type":"number"},"function_selector":{"type":"string"},"data":{"type":"string"},"max_fee_per_gas":{"type":"string"},"max_priority_fee_per_gas":{"type":"string"},"transaction_type":{"type":"number"},"r":{"type":"string"},"s":{"type":"string"},"v":{"type":"string"},"access_list_json":{"type":"string"},"authorization_list_json":{"type":"string"},"contract_address":{"type":"string"},"gas_used":{"type":"number"},"cumulative_gas_used":{"type":"number"},"effective_gas_price":{"type":"string"},"blob_gas_used":{"type":"number"},"blob_gas_price":{"type":"string"},"logs_bloom":{"type":"string"},"status":{"type":"number"},"decoded":{"type":"object","properties":{"name":{"type":"string"},"signature":{"type":"string"},"inputs":{"type":"object","additionalProperties":{"nullable":true}}},"required":["name","signature"]}},"required":["chain_id","block_number","block_hash","block_timestamp","hash","nonce","transaction_index","from_address","to_address","value","gas_price","gas","function_selector","data","max_fee_per_gas","max_priority_fee_per_gas","transaction_type","r","s","v"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_ids":{"type":"array","items":{"type":"number"}},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit_per_chain":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_ids","page","limit_per_chain","total_items","total_pages"]}},"required":["meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/transactions/{contractAddress}":{"get":{"description":"Get contract transactions","summary":"Get contract transactions","tags":["insights/transactions"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/filterBlockNumber"},{"$ref":"#/components/parameters/filterBlockNumberGte"},{"$ref":"#/components/parameters/filterBlockNumberGt"},{"$ref":"#/components/parameters/filterBlockNumberLte"},{"$ref":"#/components/parameters/filterBlockNumberLt"},{"$ref":"#/components/parameters/filterBlockHash"},{"$ref":"#/components/parameters/filterBlockTimestamp"},{"$ref":"#/components/parameters/filterBlockTimestampGte"},{"$ref":"#/components/parameters/filterBlockTimestampGt"},{"$ref":"#/components/parameters/filterBlockTimestampLte"},{"$ref":"#/components/parameters/filterBlockTimestampLt"},{"$ref":"#/components/parameters/sortBy"},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/groupBy"},{"$ref":"#/components/parameters/aggregate"},{"$ref":"#/components/parameters/filterTransactionIndex"},{"$ref":"#/components/parameters/filterTransactionIndexGte"},{"$ref":"#/components/parameters/filterTransactionIndexGt"},{"$ref":"#/components/parameters/filterTransactionIndexLte"},{"$ref":"#/components/parameters/filterTransactionIndexLt"},{"$ref":"#/components/parameters/decode"},{"$ref":"#/components/parameters/filterHash"},{"$ref":"#/components/parameters/filterFromAddress"},{"$ref":"#/components/parameters/filterValue"},{"$ref":"#/components/parameters/filterValueGte"},{"$ref":"#/components/parameters/filterValueGt"},{"$ref":"#/components/parameters/filterValueLte"},{"$ref":"#/components/parameters/filterValueLt"},{"$ref":"#/components/parameters/filterGasPrice"},{"$ref":"#/components/parameters/filterGasPriceGte"},{"$ref":"#/components/parameters/filterGasPriceGt"},{"$ref":"#/components/parameters/filterGasPriceLte"},{"$ref":"#/components/parameters/filterGasPriceLt"},{"$ref":"#/components/parameters/filterGas"},{"$ref":"#/components/parameters/filterGasGte"},{"$ref":"#/components/parameters/filterGasGt"},{"$ref":"#/components/parameters/filterGasLte"},{"$ref":"#/components/parameters/filterGasLt"},{"$ref":"#/components/parameters/filterFunctionSelector"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"block_number":{"type":"number"},"block_hash":{"type":"string"},"block_timestamp":{"type":"number"},"hash":{"type":"string"},"nonce":{"type":"number"},"transaction_index":{"type":"number"},"from_address":{"type":"string"},"to_address":{"type":"string"},"value":{"type":"string"},"gas_price":{"type":"string"},"gas":{"type":"number"},"function_selector":{"type":"string"},"data":{"type":"string"},"max_fee_per_gas":{"type":"string"},"max_priority_fee_per_gas":{"type":"string"},"transaction_type":{"type":"number"},"r":{"type":"string"},"s":{"type":"string"},"v":{"type":"string"},"access_list_json":{"type":"string"},"authorization_list_json":{"type":"string"},"contract_address":{"type":"string"},"gas_used":{"type":"number"},"cumulative_gas_used":{"type":"number"},"effective_gas_price":{"type":"string"},"blob_gas_used":{"type":"number"},"blob_gas_price":{"type":"string"},"logs_bloom":{"type":"string"},"status":{"type":"number"}},"required":["chain_id","block_number","block_hash","block_timestamp","hash","nonce","transaction_index","from_address","to_address","value","gas_price","gas","function_selector","data","max_fee_per_gas","max_priority_fee_per_gas","transaction_type","r","s","v"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_ids":{"type":"array","items":{"type":"number"}},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit_per_chain":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_ids","page","limit_per_chain","total_items","total_pages"]}},"required":["meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/transactions/{contractAddress}/{signature}":{"get":{"description":"Get specific contract transactions","summary":"Get contract transactions with specific signature","tags":["insights/transactions"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"$ref":"#/components/parameters/signature"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/filterBlockNumber"},{"$ref":"#/components/parameters/filterBlockNumberGte"},{"$ref":"#/components/parameters/filterBlockNumberGt"},{"$ref":"#/components/parameters/filterBlockNumberLte"},{"$ref":"#/components/parameters/filterBlockNumberLt"},{"$ref":"#/components/parameters/filterBlockHash"},{"$ref":"#/components/parameters/filterBlockTimestamp"},{"$ref":"#/components/parameters/filterBlockTimestampGte"},{"$ref":"#/components/parameters/filterBlockTimestampGt"},{"$ref":"#/components/parameters/filterBlockTimestampLte"},{"$ref":"#/components/parameters/filterBlockTimestampLt"},{"$ref":"#/components/parameters/sortBy"},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/groupBy"},{"$ref":"#/components/parameters/aggregate"},{"$ref":"#/components/parameters/filterTransactionIndex"},{"$ref":"#/components/parameters/filterTransactionIndexGte"},{"$ref":"#/components/parameters/filterTransactionIndexGt"},{"$ref":"#/components/parameters/filterTransactionIndexLte"},{"$ref":"#/components/parameters/filterTransactionIndexLt"},{"$ref":"#/components/parameters/decode"},{"$ref":"#/components/parameters/filterHash"},{"$ref":"#/components/parameters/filterFromAddress"},{"$ref":"#/components/parameters/filterValue"},{"$ref":"#/components/parameters/filterValueGte"},{"$ref":"#/components/parameters/filterValueGt"},{"$ref":"#/components/parameters/filterValueLte"},{"$ref":"#/components/parameters/filterValueLt"},{"$ref":"#/components/parameters/filterGasPrice"},{"$ref":"#/components/parameters/filterGasPriceGte"},{"$ref":"#/components/parameters/filterGasPriceGt"},{"$ref":"#/components/parameters/filterGasPriceLte"},{"$ref":"#/components/parameters/filterGasPriceLt"},{"$ref":"#/components/parameters/filterGas"},{"$ref":"#/components/parameters/filterGasGte"},{"$ref":"#/components/parameters/filterGasGt"},{"$ref":"#/components/parameters/filterGasLte"},{"$ref":"#/components/parameters/filterGasLt"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"block_number":{"type":"number"},"block_hash":{"type":"string"},"block_timestamp":{"type":"number"},"hash":{"type":"string"},"nonce":{"type":"number"},"transaction_index":{"type":"number"},"from_address":{"type":"string"},"to_address":{"type":"string"},"value":{"type":"string"},"gas_price":{"type":"string"},"gas":{"type":"number"},"function_selector":{"type":"string"},"data":{"type":"string"},"max_fee_per_gas":{"type":"string"},"max_priority_fee_per_gas":{"type":"string"},"transaction_type":{"type":"number"},"r":{"type":"string"},"s":{"type":"string"},"v":{"type":"string"},"access_list_json":{"type":"string"},"authorization_list_json":{"type":"string"},"contract_address":{"type":"string"},"gas_used":{"type":"number"},"cumulative_gas_used":{"type":"number"},"effective_gas_price":{"type":"string"},"blob_gas_used":{"type":"number"},"blob_gas_price":{"type":"string"},"logs_bloom":{"type":"string"},"status":{"type":"number"},"decoded":{"type":"object","properties":{"name":{"type":"string"},"signature":{"type":"string"},"inputs":{"type":"object","additionalProperties":{"nullable":true}}},"required":["name","signature"]}},"required":["chain_id","block_number","block_hash","block_timestamp","hash","nonce","transaction_index","from_address","to_address","value","gas_price","gas","function_selector","data","max_fee_per_gas","max_priority_fee_per_gas","transaction_type","r","s","v"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_ids":{"type":"array","items":{"type":"number"}},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit_per_chain":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_ids","page","limit_per_chain","total_items","total_pages"]}},"required":["meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/tokens/owners":{"get":{"description":"Get token owners for specific contract","summary":"Get token owners by contract","tags":["insights/tokens"],"parameters":[{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"$ref":"#/components/parameters/contractAddress"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"owner_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"balance":{"type":"string"}},"required":["chain_id","token_address","owner_address","balance"]}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/tokens/transfers/transaction/{transaction_hash}":{"get":{"description":"Get token transfers by transaction","summary":"Get token transfers by transaction","tags":["insights/tokens"],"parameters":[{"$ref":"#/components/parameters/transactionHash"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include owner addresses in the NFT metadata (only if metadata is requested)","example":"false"},"required":false,"name":"include_owners","in":"query"},{"schema":{"type":"array","description":"The types of tokens to include in the response. Can be an empty array to include all types","items":{"type":"string","enum":["erc1155","erc721","erc20"]},"uniqueItems":true},"required":false,"name":"token_types","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"block_number":{"type":"string"},"block_hash":{"type":"string"},"block_timestamp":{"type":"string"},"transaction_hash":{"type":"string"},"from_address":{"type":"string"},"to_address":{"type":"string"},"log_index":{"type":"number"},"contract_address":{"type":"string"},"transfer_type":{"type":"string","enum":["mint","sale","transfer"]},"token_type":{"type":"string","enum":["erc20"]},"amount":{"type":"string"},"chain_id":{"type":"number"},"token_metadata":{"type":"object","properties":{"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}}},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}},"required":["block_number","block_timestamp","transaction_hash","from_address","to_address","log_index","contract_address","transfer_type","token_type","amount","chain_id"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_id":{"type":"number"},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_id"]}},"required":["meta"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"block_number":{"type":"string"},"block_hash":{"type":"string"},"block_timestamp":{"type":"string"},"transaction_hash":{"type":"string"},"from_address":{"type":"string"},"to_address":{"type":"string"},"log_index":{"type":"number"},"contract_address":{"type":"string"},"transfer_type":{"type":"string","enum":["mint","sale","transfer"]},"token_type":{"type":"string","enum":["erc20"]},"amount":{"type":"string"},"chain_id":{"type":"number"},"token_metadata":{"type":"object","properties":{"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}}},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}},"required":["block_number","block_timestamp","transaction_hash","from_address","to_address","log_index","contract_address","transfer_type","token_type","amount","chain_id"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_id":{"type":"number"},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_id"]}},"required":["meta"]}}}}}}},"/insights/v1/tokens/transfers/{contract_address}":{"get":{"description":"Get token transfers by contract","summary":"Get token transfers by contract","tags":["insights/tokens"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include owner addresses in the NFT metadata (only if metadata is requested)","example":"false"},"required":false,"name":"include_owners","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"block_number":{"type":"string"},"block_hash":{"type":"string"},"block_timestamp":{"type":"string"},"transaction_hash":{"type":"string"},"from_address":{"type":"string"},"to_address":{"type":"string"},"log_index":{"type":"number"},"contract_address":{"type":"string"},"transfer_type":{"type":"string","enum":["mint","sale","transfer"]},"token_type":{"type":"string","enum":["erc20"]},"amount":{"type":"string"},"chain_id":{"type":"number"},"token_metadata":{"type":"object","properties":{"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}}},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}},"required":["block_number","block_timestamp","transaction_hash","from_address","to_address","log_index","contract_address","transfer_type","token_type","amount","chain_id"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_id":{"type":"number"},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_id"]}},"required":["meta"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"block_number":{"type":"string"},"block_hash":{"type":"string"},"block_timestamp":{"type":"string"},"transaction_hash":{"type":"string"},"from_address":{"type":"string"},"to_address":{"type":"string"},"log_index":{"type":"number"},"contract_address":{"type":"string"},"transfer_type":{"type":"string","enum":["mint","sale","transfer"]},"token_type":{"type":"string","enum":["erc20"]},"amount":{"type":"string"},"chain_id":{"type":"number"},"token_metadata":{"type":"object","properties":{"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}}},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}},"required":["block_number","block_timestamp","transaction_hash","from_address","to_address","log_index","contract_address","transfer_type","token_type","amount","chain_id"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_id":{"type":"number"},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_id"]}},"required":["meta"]}}}}}}},"/insights/v1/tokens/transfers":{"get":{"description":"Get token transfers","summary":"Get token transfers","tags":["insights/tokens"],"parameters":[{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include owner addresses in the NFT metadata (only if metadata is requested)","example":"false"},"required":false,"name":"include_owners","in":"query"},{"$ref":"#/components/parameters/blockNumberFrom"},{"$ref":"#/components/parameters/blockNumberTo"},{"$ref":"#/components/parameters/blockTimestampFrom"},{"$ref":"#/components/parameters/blockTimestampTo"},{"$ref":"#/components/parameters/ownerAddress"},{"$ref":"#/components/parameters/contractAddress"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc","description":"Sort order (asc or desc)","example":"desc"},"required":false,"name":"sort_order","in":"query"},{"schema":{"type":"string","enum":["mint","transfer","burn"],"description":"Only include transfers of a certain type","example":"mint"},"required":false,"name":"transfer_type","in":"query"},{"schema":{"type":"array","description":"The types of tokens to include in the response. Can be an empty array to include all types","items":{"type":"string","enum":["erc1155","erc721","erc20"]},"uniqueItems":true},"required":false,"name":"token_types","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"block_number":{"type":"string"},"block_hash":{"type":"string"},"block_timestamp":{"type":"string"},"transaction_hash":{"type":"string"},"from_address":{"type":"string"},"to_address":{"type":"string"},"log_index":{"type":"number"},"contract_address":{"type":"string"},"transfer_type":{"type":"string","enum":["mint","sale","transfer"]},"token_type":{"type":"string","enum":["erc20"]},"amount":{"type":"string"},"chain_id":{"type":"number"},"token_metadata":{"type":"object","properties":{"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}}},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}},"required":["block_number","block_timestamp","transaction_hash","from_address","to_address","log_index","contract_address","transfer_type","token_type","amount","chain_id"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_id":{"type":"number"},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_id"]}},"required":["meta"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"block_number":{"type":"string"},"block_hash":{"type":"string"},"block_timestamp":{"type":"string"},"transaction_hash":{"type":"string"},"from_address":{"type":"string"},"to_address":{"type":"string"},"log_index":{"type":"number"},"contract_address":{"type":"string"},"transfer_type":{"type":"string","enum":["mint","sale","transfer"]},"token_type":{"type":"string","enum":["erc20"]},"amount":{"type":"string"},"chain_id":{"type":"number"},"token_metadata":{"type":"object","properties":{"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}}},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}},"required":["block_number","block_timestamp","transaction_hash","from_address","to_address","log_index","contract_address","transfer_type","token_type","amount","chain_id"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_id":{"type":"number"},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_id"]}},"required":["meta"]}}}}}}},"/insights/v1/tokens/erc20/{ownerAddress}":{"get":{"deprecated":true,"summary":"Get ERC-20 balances by address","description":"Get ERC-20 balances for a given address. [BEING DEPRECATED IN FAVOR OF /tokens]","tags":["insights/tokens"],"parameters":[{"$ref":"#/components/parameters/ownerAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include spam tokens","example":"false"},"required":false,"name":"include_spam","in":"query"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"balance":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"}},"required":["chain_id","token_address","balance"]}}},"required":["data"]}}}},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}}}},"/insights/v1/tokens":{"get":{"summary":"Get tokens","description":"Query tokens","tags":["insights/tokens"],"parameters":[{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include spam tokens","example":"false"},"required":false,"name":"include_spam","in":"query"},{"schema":{"type":"array","description":"Address(es) to filter by. You can specify multiple addresses using repeated query parameters, e.g., ?address=0x123&address=0x456","example":["0x1234567890123456789012345678901234567890","vitalik.eth"],"items":{"type":"string"}},"required":true,"name":"owner_address","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to include native tokens","example":"true"},"required":false,"name":"include_native","in":"query"},{"schema":{"type":"array","description":"Address(es) to filter by. You can specify multiple addresses using repeated query parameters, e.g., ?address=0x123&address=0x456","example":["0x1234567890123456789012345678901234567890","vitalik.eth"],"items":{"type":"string"}},"required":false,"name":"token_address","in":"query"},{"schema":{"type":"string","enum":["balance","token_address","token_price","usd_value"],"default":"token_address","description":"Field to sort by","example":"balance"},"required":false,"name":"sort_by","in":"query"},{"schema":{"type":"string","enum":["asc","desc"],"default":"asc","description":"Sort order (asc or desc)","example":"desc"},"required":false,"name":"sort_order","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to include tokens that don't have price data (only applies when metadata=true)","example":"true"},"required":false,"name":"include_without_price","in":"query"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"balance":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}},"required":["chain_id","token_address","balance"]}}},"required":["data"]}}}},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}}}},"/insights/v1/tokens/erc721/{ownerAddress}":{"get":{"summary":"Get ERC-721 balances by address","description":"Get ERC-721 (NFT) balances for a given address [BEING DEPRECATED IN FAVOR OF /nfts/balance]","deprecated":true,"tags":["insights/tokens"],"parameters":[{"$ref":"#/components/parameters/ownerAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"balance":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"video_url":{"type":"string"},"animation_url":{"type":"string"},"background_color":{"type":"string"},"external_url":{"type":"string"},"status":{"type":"string"},"metadata_url":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}},"extra_metadata":{"allOf":[{"type":"object","additionalProperties":{"nullable":true}},{"type":"object","properties":{"attributes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"trait_type":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"display_type":{"type":"string"}},"required":["trait_type","value"]}},{"type":"object","additionalProperties":{"nullable":true}}]},"properties":{"type":"object","additionalProperties":{"nullable":true}}}}]},"collection":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"banner_image_url":{"type":"string"},"featured_image_url":{"type":"string"},"external_link":{"type":"string"}}},"contract":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"name":{"type":"string"},"symbol":{"type":"string"},"type":{"type":"string","enum":["erc721","erc1155"]}},"required":["chain_id","address"]}},"required":["chain_id","token_address","token_id","balance"]}}},"required":["data"]}}}},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}}}},"/insights/v1/tokens/erc1155/{ownerAddress}":{"get":{"summary":"Get ERC-1155 balances by address","description":"Get ERC-1155 (Multi Token) balances for a given address [BEING DEPRECATED IN FAVOR OF /nfts/balance]","deprecated":true,"tags":["insights/tokens"],"parameters":[{"$ref":"#/components/parameters/ownerAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"balance":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"video_url":{"type":"string"},"animation_url":{"type":"string"},"background_color":{"type":"string"},"external_url":{"type":"string"},"status":{"type":"string"},"metadata_url":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}},"extra_metadata":{"allOf":[{"type":"object","additionalProperties":{"nullable":true}},{"type":"object","properties":{"attributes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"trait_type":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"display_type":{"type":"string"}},"required":["trait_type","value"]}},{"type":"object","additionalProperties":{"nullable":true}}]},"properties":{"type":"object","additionalProperties":{"nullable":true}}}}]},"collection":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"banner_image_url":{"type":"string"},"featured_image_url":{"type":"string"},"external_link":{"type":"string"}}},"contract":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"name":{"type":"string"},"symbol":{"type":"string"},"type":{"type":"string","enum":["erc721","erc1155"]}},"required":["chain_id","address"]}},"required":["chain_id","token_address","token_id","balance"]}}},"required":["data"]}}}},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}}}},"/insights/v1/tokens/price/supported":{"get":{"summary":"Get supported tokens for price data","description":"Get supported tokens for price data","tags":["insights/tokens"],"parameters":[{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"symbol":{"type":"string"}},"required":["chain_id","address"]}}},"required":["data"]}}}},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}}}},"/insights/v1/tokens/price":{"get":{"summary":"Get token price","description":"Get price in USD for given token(s)","tags":["insights/tokens"],"parameters":[{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"schema":{"anyOf":[{"type":"array","items":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}},{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}],"description":"The address of the token to get the price for","example":["0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"]},"required":false,"name":"address","in":"query"},{"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string","nullable":true},{"nullable":true}],"description":"The symbol of the token to get the price for","example":["ETH","USDC"]},"required":false,"name":"symbol","in":"query"},{"$ref":"#/components/parameters/timestamp"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include historical token prices","example":"true"},"required":false,"name":"include_historical_prices","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include the number of holders","example":"true"},"required":false,"name":"include_holders","in":"query"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"symbol":{"type":"string"},"price_usd":{"type":"number","description":"Precise price in USD"},"price_usd_cents":{"type":"number","description":"Price in USD cents"},"percent_change_24h":{"type":"number","description":"Percent change in price over the last 24 hours"},"volume_24h_usd":{"type":"number","description":"Volume in USD over the last 24 hours"},"volume_change_24h":{"type":"number","description":"Percent change in volume over the last 24 hours"},"market_cap_usd":{"type":"number","description":"Market cap in USD"},"historical_prices":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"Date of price"},"price_usd":{"type":"number","description":"Price in USD"},"price_usd_cents":{"type":"number","description":"Price in USD cents"}},"required":["date","price_usd","price_usd_cents"]}},"holders":{"type":"number","description":"Number of holders"}},"required":["chain_id","address","price_usd","price_usd_cents","percent_change_24h","volume_24h_usd","volume_change_24h","market_cap_usd"]}}},"required":["data"]}}}},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}}}},"/insights/v1/tokens/lookup":{"get":{"summary":"Token lookup","description":"Look up a fungible token by symbol","tags":["insights/tokens"],"parameters":[{"schema":{"anyOf":[{"type":"array","items":{"type":"string"},"maxItems":10},{"type":"string"}],"description":"The symbol(s) of the token to lookup. You can specify multiple symbols, up to a maximum of 10.\n      Use repeated query parameters, e.g., `?symbol=ETH&symbol=USDC`.","example":["ETH","USDC"]},"required":true,"name":"symbol","in":"query"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"name":{"type":"string"},"symbol":{"type":"string"},"decimals":{"type":"number"},"price_data":{"type":"object","properties":{"price_usd":{"type":"number","description":"The price of the token in USD"},"usd_value":{"type":"number","description":"The value of the token balance in USD"},"volume_24h_usd":{"type":"number","description":"The volume of the token in USD"},"market_cap_usd":{"type":"number","description":"The market cap of the token in USD"},"circulating_supply":{"type":"number","description":"The circulating supply of the token"},"total_supply":{"type":"number","description":"The total supply of the token"},"percent_change_24h":{"type":"number","description":"The percentage change of the token in the last 24 hours"},"price_timestamp":{"type":"string","description":"The timestamp of the latest price update"}}}},"required":["chain_id","token_address"]}}},"required":["data"]}}}},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}}}},"/insights/v1/resolve/{input}":{"get":{"description":"Resolve","summary":"Resolve","tags":["insights/resolve"],"parameters":[{"$ref":"#/components/parameters/input"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"blocks":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number"},"block_number":{"type":"number"},"block_hash":{"type":"string"},"parent_hash":{"type":"string"},"block_timestamp":{"type":"number"},"nonce":{"type":"string"},"sha3_uncles":{"type":"string"},"mix_hash":{"type":"string"},"miner":{"type":"string"},"state_root":{"type":"string"},"transactions_root":{"type":"string"},"receipts_root":{"type":"string"},"logs_bloom":{"type":"string"},"size":{"type":"number"},"extra_data":{"type":"string"},"difficulty":{"type":"string"},"total_difficulty":{"type":"string"},"transaction_count":{"type":"number"},"gas_limit":{"type":"number"},"gas_used":{"type":"number"},"withdrawals_root":{"type":"string"},"base_fee_per_gas":{"type":"number"}},"required":["chain_id","block_number","block_hash","parent_hash","block_timestamp","nonce","sha3_uncles","mix_hash","miner","state_root","transactions_root","receipts_root","logs_bloom","size","extra_data","difficulty","total_difficulty","transaction_count","gas_limit","gas_used","withdrawals_root","base_fee_per_gas"]}},"transactions":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"block_number":{"type":"number"},"block_hash":{"type":"string"},"block_timestamp":{"type":"number"},"hash":{"type":"string"},"nonce":{"type":"number"},"transaction_index":{"type":"number"},"from_address":{"type":"string"},"to_address":{"type":"string"},"value":{"type":"string"},"gas_price":{"type":"string"},"gas":{"type":"number"},"function_selector":{"type":"string"},"data":{"type":"string"},"max_fee_per_gas":{"type":"string"},"max_priority_fee_per_gas":{"type":"string"},"transaction_type":{"type":"number"},"r":{"type":"string"},"s":{"type":"string"},"v":{"type":"string"},"access_list_json":{"type":"string"},"authorization_list_json":{"type":"string"},"contract_address":{"type":"string"},"gas_used":{"type":"number"},"cumulative_gas_used":{"type":"number"},"effective_gas_price":{"type":"string"},"blob_gas_used":{"type":"number"},"blob_gas_price":{"type":"string"},"logs_bloom":{"type":"string"},"status":{"type":"number"}},"required":["chain_id","block_number","block_hash","block_timestamp","hash","nonce","transaction_index","from_address","to_address","value","gas_price","gas","function_selector","data","max_fee_per_gas","max_priority_fee_per_gas","transaction_type","r","s","v"]}},"events":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"block_number":{"type":"number"},"block_hash":{"type":"string"},"block_timestamp":{"type":"number"},"transaction_hash":{"type":"string"},"transaction_index":{"type":"number"},"log_index":{"type":"number"},"address":{"type":"string"},"data":{"type":"string"},"topics":{"type":"array","items":{"type":"string"}}},"required":["chain_id","block_number","block_hash","block_timestamp","transaction_hash","transaction_index","log_index","address","data","topics"]}},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"type":{"type":"string","enum":["block","transaction","event_signature","function_signature","address","contract","unknown"]}},"required":["type"]},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_ids":{"type":"array","items":{"type":"number"}},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit_per_chain":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_ids","page","limit_per_chain","total_items","total_pages"]}},"required":["meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/blocks":{"get":{"description":"Get blocks","summary":"Get blocks","tags":["insights/blocks"],"parameters":[{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/filterBlockNumber"},{"$ref":"#/components/parameters/filterBlockNumberGte"},{"$ref":"#/components/parameters/filterBlockNumberGt"},{"$ref":"#/components/parameters/filterBlockNumberLte"},{"$ref":"#/components/parameters/filterBlockNumberLt"},{"$ref":"#/components/parameters/filterBlockTimestamp"},{"$ref":"#/components/parameters/filterBlockTimestampGte"},{"$ref":"#/components/parameters/filterBlockTimestampGt"},{"$ref":"#/components/parameters/filterBlockTimestampLte"},{"$ref":"#/components/parameters/filterBlockTimestampLt"},{"$ref":"#/components/parameters/sortBy"},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/groupBy"},{"$ref":"#/components/parameters/aggregate"},{"$ref":"#/components/parameters/filterHash"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number"},"block_number":{"type":"number"},"block_hash":{"type":"string"},"parent_hash":{"type":"string"},"block_timestamp":{"type":"number"},"nonce":{"type":"string"},"sha3_uncles":{"type":"string"},"mix_hash":{"type":"string"},"miner":{"type":"string"},"state_root":{"type":"string"},"transactions_root":{"type":"string"},"receipts_root":{"type":"string"},"logs_bloom":{"type":"string"},"size":{"type":"number"},"extra_data":{"type":"string"},"difficulty":{"type":"string"},"total_difficulty":{"type":"string"},"transaction_count":{"type":"number"},"gas_limit":{"type":"number"},"gas_used":{"type":"number"},"withdrawals_root":{"type":"string"},"base_fee_per_gas":{"type":"number"}},"required":["chain_id","block_number","block_hash","parent_hash","block_timestamp","nonce","sha3_uncles","mix_hash","miner","state_root","transactions_root","receipts_root","logs_bloom","size","extra_data","difficulty","total_difficulty","transaction_count","gas_limit","gas_used","withdrawals_root","base_fee_per_gas"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_ids":{"type":"array","items":{"type":"number"}},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit_per_chain":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_ids","page","limit_per_chain","total_items","total_pages"]}},"required":["meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/contracts/abi/{contractAddress}":{"get":{"description":"Get contract ABI​","summary":"Get contract ABI​","tags":["insights/contracts"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/contracts/metadata/{contractAddress}":{"get":{"description":"Get contract metadata​","summary":"Get contract metadata​","tags":["insights/contracts"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/decode/{contractAddress}":{"post":{"description":"Decode logs and transactions​","summary":"Decode logs and transactions​","tags":["insights/decode"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"data":{"type":"string"}},"required":["data"]}},"logs":{"type":"array","items":{"type":"object","properties":{"data":{"type":"string"},"topics":{"type":"array","items":{"type":"string"}}},"required":["topics"]}}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"data":{"type":"string"},"function_name":{"type":"string"},"args":{"type":"array","items":{"nullable":true}}},"required":["data"]}},"logs":{"type":"array","items":{"type":"object","properties":{"data":{"type":"string"},"topics":{"type":"array","items":{"type":"string"}},"event_name":{"type":"string"},"args":{"type":"array","items":{"nullable":true}}},"required":["topics"]}}}}}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts/balance/{ownerAddress}":{"get":{"summary":"Get NFT balances by address","description":"Get NFT balances for a given address","tags":["insights/nfts"],"parameters":[{"$ref":"#/components/parameters/ownerAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"},{"schema":{"type":"array","description":"The types of NFTs to include in the response","items":{"type":"string","enum":["erc1155","erc721"]},"uniqueItems":true,"default":["erc1155","erc721"]},"required":false,"name":"token_types","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"balance":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"video_url":{"type":"string"},"animation_url":{"type":"string"},"background_color":{"type":"string"},"external_url":{"type":"string"},"status":{"type":"string"},"metadata_url":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}},"extra_metadata":{"allOf":[{"type":"object","additionalProperties":{"nullable":true}},{"type":"object","properties":{"attributes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"trait_type":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"display_type":{"type":"string"}},"required":["trait_type","value"]}},{"type":"object","additionalProperties":{"nullable":true}}]},"properties":{"type":"object","additionalProperties":{"nullable":true}}}}]},"collection":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"banner_image_url":{"type":"string"},"featured_image_url":{"type":"string"},"external_link":{"type":"string"}}},"contract":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"name":{"type":"string"},"symbol":{"type":"string"},"type":{"type":"string","enum":["erc721","erc1155"]}},"required":["chain_id","address"]}},"required":["chain_id","token_address","token_id","balance"]}}},"required":["data"]}}}},"400":{"description":"Bad request"},"500":{"description":"Internal server error"}}}},"/insights/v1/nfts/collections/{contract_address}":{"get":{"summary":"Get collection","description":"Retrieve metadata about a collection","tags":["insights/nfts"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include stats for the collection","example":"false"},"required":false,"name":"include_stats","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"banner_image_url":{"type":"string"},"featured_image_url":{"type":"string"},"external_link":{"type":"string"},"stats":{"type":"object","properties":{"owner_count":{"type":"number"},"token_count":{"type":"number"},"mint_count":{"type":"number"},"total_quantity":{"type":"number"}},"required":["owner_count","token_count","mint_count","total_quantity"]}}}}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts":{"get":{"description":"Get NFTs","summary":"Get NFTs","tags":["insights/nfts"],"parameters":[{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"},{"schema":{"type":"array","description":"Address(es) to filter by. You can specify multiple addresses using repeated query parameters, e.g., ?address=0x123&address=0x456","example":["0x1234567890123456789012345678901234567890","vitalik.eth"],"items":{"type":"string"}},"required":true,"name":"owner_address","in":"query"},{"schema":{"type":"array","description":"Address(es) to filter by. You can specify multiple addresses using repeated query parameters, e.g., ?address=0x123&address=0x456","example":["0x1234567890123456789012345678901234567890","vitalik.eth"],"items":{"type":"string"}},"required":false,"name":"contract_address","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number"},"contract_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"token_type":{"type":"string"},"balance":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"video_url":{"type":"string"},"animation_url":{"type":"string"},"background_color":{"type":"string"},"external_url":{"type":"string"},"status":{"type":"string"},"metadata_url":{"type":"string"},"extra_metadata":{"allOf":[{"type":"object","additionalProperties":{"nullable":true}},{"type":"object","properties":{"attributes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"trait_type":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"display_type":{"type":"string"}},"required":["trait_type","value"]}},{"type":"object","additionalProperties":{"nullable":true}}]},"properties":{"type":"object","additionalProperties":{"nullable":true}}}}]},"collection":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"banner_image_url":{"type":"string"},"featured_image_url":{"type":"string"},"external_link":{"type":"string"}}},"contract":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"name":{"type":"string"},"symbol":{"type":"string"},"type":{"type":"string","enum":["erc721","erc1155"]}},"required":["chain_id","address"]}},"required":["chain_id","contract_address","token_id","token_type","balance"]}}},"required":["data"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts/owners/{contract_address}":{"get":{"description":"Get NFT owners by contract","summary":"Get NFT owners by contract","tags":["insights/nfts"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Control if the result is an array of addresses only or an array of objects containing the address and balance","example":"true"},"required":false,"name":"include_balances","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"chain_id":{"type":"string"},"token_address":{"type":"string"},"owner_address":{"type":"string"},"token_id":{"type":"string"},"balance":{"type":"string"}},"required":["chain_id","token_address","owner_address","token_id","balance"]},{"type":"object","properties":{"chain_id":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}}},"required":["chain_id","owner_addresses"]}]}}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts/owners/{contract_address}/{token_id}":{"get":{"description":"Get NFT owners by token","summary":"Get NFT owners by token","tags":["insights/nfts"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"$ref":"#/components/parameters/tokenId"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Control if the result is an array of addresses only or an array of objects containing the address and balance","example":"true"},"required":false,"name":"include_balances","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"chain_id":{"type":"string"},"token_address":{"type":"string"},"owner_address":{"type":"string"},"token_id":{"type":"string"},"balance":{"type":"string"}},"required":["chain_id","token_address","owner_address","token_id","balance"]},{"type":"object","properties":{"chain_id":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}}},"required":["chain_id","owner_addresses"]}]}}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts/transfers":{"get":{"description":"Get NFT transfers","summary":"Get NFT transfers","tags":["insights/nfts"],"parameters":[{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include owner addresses in the NFT metadata (only if metadata is requested)","example":"false"},"required":false,"name":"include_owners","in":"query"},{"$ref":"#/components/parameters/blockNumberFrom"},{"$ref":"#/components/parameters/blockTimestampFrom"},{"$ref":"#/components/parameters/blockTimestampTo"},{"$ref":"#/components/parameters/ownerAddress"},{"$ref":"#/components/parameters/contractAddress"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc","description":"Sort order (asc or desc)","example":"desc"},"required":false,"name":"sort_order","in":"query"},{"schema":{"type":"string","enum":["mint","transfer","burn","sale"],"description":"Only include transfers of a certain type","example":"mint"},"required":false,"name":"transfer_type","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include sale details for NFT transfers","example":"false"},"required":false,"name":"sales","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"token_id":{"type":"string"},"chain_id":{"type":"number"},"block_number":{"type":"string"},"block_hash":{"type":"string"},"block_timestamp":{"type":"string"},"transaction_hash":{"type":"string"},"from_address":{"type":"string"},"to_address":{"type":"string"},"log_index":{"type":"number"},"contract_address":{"type":"string"},"transfer_type":{"type":"string","enum":["mint","sale","transfer"]},"token_type":{"type":"string","enum":["erc721","erc1155"]},"amount":{"type":"string"},"nft_metadata":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"video_url":{"type":"string"},"animation_url":{"type":"string"},"background_color":{"type":"string"},"external_url":{"type":"string"},"status":{"type":"string"},"metadata_url":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}},"extra_metadata":{"allOf":[{"type":"object","additionalProperties":{"nullable":true}},{"type":"object","properties":{"attributes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"trait_type":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"display_type":{"type":"string"}},"required":["trait_type","value"]}},{"type":"object","additionalProperties":{"nullable":true}}]},"properties":{"type":"object","additionalProperties":{"nullable":true}}}}]},"collection":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"banner_image_url":{"type":"string"},"featured_image_url":{"type":"string"},"external_link":{"type":"string"}}},"contract":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"name":{"type":"string"},"symbol":{"type":"string"},"type":{"type":"string","enum":["erc721","erc1155"]}},"required":["chain_id","address"]}}},"nft_sale":{"type":"object","properties":{"transaction_hash":{"type":"string"},"items_sold":{"type":"array","items":{"type":"object","properties":{"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"amount":{"type":"string"},"token_type":{"type":"string"},"from_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"to_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}},"required":["token_address","token_id","amount","token_type"]}},"payment":{"type":"array","items":{"type":"object","properties":{"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"amount":{"type":"string"},"token_type":{"type":"string"},"from_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"to_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}},"required":["token_address","token_id","amount","token_type"]}},"marketplace_address":{"type":"string"},"marketplace_name":{"type":"string"}},"required":["transaction_hash","items_sold","payment","marketplace_address","marketplace_name"]}},"required":["token_id","chain_id","block_number","block_timestamp","transaction_hash","from_address","to_address","log_index","contract_address","transfer_type","token_type","amount"]}}},"required":["data"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts/transfers/transaction/{transaction_hash}":{"get":{"description":"Get NFT transfers by transaction","summary":"Get NFT transfers by transaction","tags":["insights/nfts"],"parameters":[{"$ref":"#/components/parameters/transactionHash"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include owner addresses in the NFT metadata (only if metadata is requested)","example":"false"},"required":false,"name":"include_owners","in":"query"},{"schema":{"type":"array","description":"The types of tokens to include in the response. Can be an empty array to include all types","items":{"type":"string","enum":["erc1155","erc721","erc20"]},"uniqueItems":true},"required":false,"name":"token_types","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"token_id":{"type":"string"},"chain_id":{"type":"number"},"block_number":{"type":"string"},"block_hash":{"type":"string"},"block_timestamp":{"type":"string"},"transaction_hash":{"type":"string"},"from_address":{"type":"string"},"to_address":{"type":"string"},"log_index":{"type":"number"},"contract_address":{"type":"string"},"transfer_type":{"type":"string","enum":["mint","sale","transfer"]},"token_type":{"type":"string","enum":["erc721","erc1155"]},"amount":{"type":"string"},"nft_metadata":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"video_url":{"type":"string"},"animation_url":{"type":"string"},"background_color":{"type":"string"},"external_url":{"type":"string"},"status":{"type":"string"},"metadata_url":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}},"extra_metadata":{"allOf":[{"type":"object","additionalProperties":{"nullable":true}},{"type":"object","properties":{"attributes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"trait_type":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"display_type":{"type":"string"}},"required":["trait_type","value"]}},{"type":"object","additionalProperties":{"nullable":true}}]},"properties":{"type":"object","additionalProperties":{"nullable":true}}}}]},"collection":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"banner_image_url":{"type":"string"},"featured_image_url":{"type":"string"},"external_link":{"type":"string"}}},"contract":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"name":{"type":"string"},"symbol":{"type":"string"},"type":{"type":"string","enum":["erc721","erc1155"]}},"required":["chain_id","address"]}}},"nft_sale":{"type":"object","properties":{"transaction_hash":{"type":"string"},"items_sold":{"type":"array","items":{"type":"object","properties":{"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"amount":{"type":"string"},"token_type":{"type":"string"},"from_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"to_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}},"required":["token_address","token_id","amount","token_type"]}},"payment":{"type":"array","items":{"type":"object","properties":{"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"amount":{"type":"string"},"token_type":{"type":"string"},"from_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"to_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}},"required":["token_address","token_id","amount","token_type"]}},"marketplace_address":{"type":"string"},"marketplace_name":{"type":"string"}},"required":["transaction_hash","items_sold","payment","marketplace_address","marketplace_name"]}},"required":["token_id","chain_id","block_number","block_timestamp","transaction_hash","from_address","to_address","log_index","contract_address","transfer_type","token_type","amount"]}}},"required":["data"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts/transfers/{contract_address}":{"get":{"description":"Get NFT transfers by contract","summary":"Get NFT transfers by contract","tags":["insights/nfts"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include owner addresses in the NFT metadata (only if metadata is requested)","example":"false"},"required":false,"name":"include_owners","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"token_id":{"type":"string"},"chain_id":{"type":"number"},"block_number":{"type":"string"},"block_hash":{"type":"string"},"block_timestamp":{"type":"string"},"transaction_hash":{"type":"string"},"from_address":{"type":"string"},"to_address":{"type":"string"},"log_index":{"type":"number"},"contract_address":{"type":"string"},"transfer_type":{"type":"string","enum":["mint","sale","transfer"]},"token_type":{"type":"string","enum":["erc721","erc1155"]},"amount":{"type":"string"},"nft_metadata":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"video_url":{"type":"string"},"animation_url":{"type":"string"},"background_color":{"type":"string"},"external_url":{"type":"string"},"status":{"type":"string"},"metadata_url":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}},"extra_metadata":{"allOf":[{"type":"object","additionalProperties":{"nullable":true}},{"type":"object","properties":{"attributes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"trait_type":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"display_type":{"type":"string"}},"required":["trait_type","value"]}},{"type":"object","additionalProperties":{"nullable":true}}]},"properties":{"type":"object","additionalProperties":{"nullable":true}}}}]},"collection":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"banner_image_url":{"type":"string"},"featured_image_url":{"type":"string"},"external_link":{"type":"string"}}},"contract":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"name":{"type":"string"},"symbol":{"type":"string"},"type":{"type":"string","enum":["erc721","erc1155"]}},"required":["chain_id","address"]}}},"nft_sale":{"type":"object","properties":{"transaction_hash":{"type":"string"},"items_sold":{"type":"array","items":{"type":"object","properties":{"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"amount":{"type":"string"},"token_type":{"type":"string"},"from_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"to_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}},"required":["token_address","token_id","amount","token_type"]}},"payment":{"type":"array","items":{"type":"object","properties":{"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"amount":{"type":"string"},"token_type":{"type":"string"},"from_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"to_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}},"required":["token_address","token_id","amount","token_type"]}},"marketplace_address":{"type":"string"},"marketplace_name":{"type":"string"}},"required":["transaction_hash","items_sold","payment","marketplace_address","marketplace_name"]}},"required":["token_id","chain_id","block_number","block_timestamp","transaction_hash","from_address","to_address","log_index","contract_address","transfer_type","token_type","amount"]}}},"required":["data"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts/{contract_address}":{"get":{"description":"Get NFTs by contract","summary":"Get NFTs by contract","tags":["insights/nfts"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include owner addresses in the NFT metadata (only if metadata is requested)","example":"false"},"required":false,"name":"include_owners","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number"},"contract_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"token_type":{"type":"string"},"balance":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"video_url":{"type":"string"},"animation_url":{"type":"string"},"background_color":{"type":"string"},"external_url":{"type":"string"},"status":{"type":"string"},"metadata_url":{"type":"string"},"extra_metadata":{"allOf":[{"type":"object","additionalProperties":{"nullable":true}},{"type":"object","properties":{"attributes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"trait_type":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"display_type":{"type":"string"}},"required":["trait_type","value"]}},{"type":"object","additionalProperties":{"nullable":true}}]},"properties":{"type":"object","additionalProperties":{"nullable":true}}}}]},"collection":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"banner_image_url":{"type":"string"},"featured_image_url":{"type":"string"},"external_link":{"type":"string"}}},"contract":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"name":{"type":"string"},"symbol":{"type":"string"},"type":{"type":"string","enum":["erc721","erc1155"]}},"required":["chain_id","address"]}},"required":["chain_id","contract_address","token_id","token_type","balance"]}}},"required":["data"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts/transfers/{contract_address}/{token_id}":{"get":{"description":"Get NFT transfers by token","summary":"Get NFT transfers by token","tags":["insights/nfts"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"$ref":"#/components/parameters/tokenId"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include sale details for NFT transfers","example":"false"},"required":false,"name":"sales","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include owner addresses in the NFT metadata (only if metadata is requested)","example":"false"},"required":false,"name":"include_owners","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"token_id":{"type":"string"},"chain_id":{"type":"number"},"block_number":{"type":"string"},"block_hash":{"type":"string"},"block_timestamp":{"type":"string"},"transaction_hash":{"type":"string"},"from_address":{"type":"string"},"to_address":{"type":"string"},"log_index":{"type":"number"},"contract_address":{"type":"string"},"transfer_type":{"type":"string","enum":["mint","sale","transfer"]},"token_type":{"type":"string","enum":["erc721","erc1155"]},"amount":{"type":"string"},"nft_metadata":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"video_url":{"type":"string"},"animation_url":{"type":"string"},"background_color":{"type":"string"},"external_url":{"type":"string"},"status":{"type":"string"},"metadata_url":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}},"extra_metadata":{"allOf":[{"type":"object","additionalProperties":{"nullable":true}},{"type":"object","properties":{"attributes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"trait_type":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"display_type":{"type":"string"}},"required":["trait_type","value"]}},{"type":"object","additionalProperties":{"nullable":true}}]},"properties":{"type":"object","additionalProperties":{"nullable":true}}}}]},"collection":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"banner_image_url":{"type":"string"},"featured_image_url":{"type":"string"},"external_link":{"type":"string"}}},"contract":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"name":{"type":"string"},"symbol":{"type":"string"},"type":{"type":"string","enum":["erc721","erc1155"]}},"required":["chain_id","address"]}}},"nft_sale":{"type":"object","properties":{"transaction_hash":{"type":"string"},"items_sold":{"type":"array","items":{"type":"object","properties":{"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"amount":{"type":"string"},"token_type":{"type":"string"},"from_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"to_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}},"required":["token_address","token_id","amount","token_type"]}},"payment":{"type":"array","items":{"type":"object","properties":{"token_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"amount":{"type":"string"},"token_type":{"type":"string"},"from_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"to_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}},"required":["token_address","token_id","amount","token_type"]}},"marketplace_address":{"type":"string"},"marketplace_name":{"type":"string"}},"required":["transaction_hash","items_sold","payment","marketplace_address","marketplace_name"]}},"required":["token_id","chain_id","block_number","block_timestamp","transaction_hash","from_address","to_address","log_index","contract_address","transfer_type","token_type","amount"]}}},"required":["data"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts/{contract_address}/{token_id}":{"get":{"description":"Get NFT by token ID","summary":"Get NFT by token ID","tags":["insights/nfts"],"parameters":[{"$ref":"#/components/parameters/contractAddress"},{"$ref":"#/components/parameters/tokenId"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include owner addresses in the NFT metadata (only if metadata is requested)","example":"false"},"required":false,"name":"include_owners","in":"query"},{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"number"},"contract_address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"token_id":{"type":"string"},"token_type":{"type":"string"},"balance":{"type":"string"},"owner_addresses":{"type":"array","items":{"type":"string"}},"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"video_url":{"type":"string"},"animation_url":{"type":"string"},"background_color":{"type":"string"},"external_url":{"type":"string"},"status":{"type":"string"},"metadata_url":{"type":"string"},"extra_metadata":{"allOf":[{"type":"object","additionalProperties":{"nullable":true}},{"type":"object","properties":{"attributes":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"trait_type":{"type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"number"}]},"display_type":{"type":"string"}},"required":["trait_type","value"]}},{"type":"object","additionalProperties":{"nullable":true}}]},"properties":{"type":"object","additionalProperties":{"nullable":true}}}}]},"collection":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"image_url":{"type":"string"},"banner_image_url":{"type":"string"},"featured_image_url":{"type":"string"},"external_link":{"type":"string"}}},"contract":{"type":"object","properties":{"chain_id":{"type":"number","description":"The chain ID of a relevant entry","example":1},"address":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"name":{"type":"string"},"symbol":{"type":"string"},"type":{"type":"string","enum":["erc721","erc1155"]}},"required":["chain_id","address"]}},"required":["chain_id","contract_address","token_id","token_type","balance"]}}},"required":["data"]}}}},"404":{"description":"Not found"},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts/metadata/refresh/{contract_address}":{"get":{"tags":["insights/nfts"],"summary":"Force refresh collection metadata","description":"Force refresh collection metadata for the specified contract (across multiple chains if provided)","parameters":[{"$ref":"#/components/parameters/contractAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"}},"required":["success","message"]}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/nfts/metadata/refresh/{contract_address}/{token_id}":{"get":{"tags":["insights/nfts"],"summary":"Force refresh token metadata","description":"Force refresh token metadata for the specified contract and token ID (across multiple chains if provided)","parameters":[{"$ref":"#/components/parameters/contractAddress"},{"$ref":"#/components/parameters/tokenId"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"success":{"type":"boolean"},"message":{"type":"string"}},"required":["success","message"]}},"required":["data"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}},"/insights/v1/wallets/{wallet_address}/transactions":{"get":{"description":"Get incoming and outgoing transactions for a wallet","summary":"Get wallet transactions","tags":["insights/wallets"],"parameters":[{"$ref":"#/components/parameters/walletAddress"},{"name":"chain","in":"query","required":false,"deprecated":true,"description":"Use chain_id instead","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"name":"chain_id","in":"query","required":false,"description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55. Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`. Optional, because a single chain can as well be specified as a subdomain","schema":{"type":"array","example":[20,56,1],"items":{"type":"number"}}},{"$ref":"#/components/parameters/filterBlockNumber"},{"$ref":"#/components/parameters/filterBlockNumberGte"},{"$ref":"#/components/parameters/filterBlockNumberGt"},{"$ref":"#/components/parameters/filterBlockNumberLte"},{"$ref":"#/components/parameters/filterBlockNumberLt"},{"$ref":"#/components/parameters/filterBlockHash"},{"$ref":"#/components/parameters/filterBlockTimestamp"},{"$ref":"#/components/parameters/filterBlockTimestampGte"},{"$ref":"#/components/parameters/filterBlockTimestampGt"},{"$ref":"#/components/parameters/filterBlockTimestampLte"},{"$ref":"#/components/parameters/filterBlockTimestampLt"},{"$ref":"#/components/parameters/sortBy"},{"$ref":"#/components/parameters/sortOrder"},{"$ref":"#/components/parameters/groupBy"},{"$ref":"#/components/parameters/aggregate"},{"$ref":"#/components/parameters/filterTransactionIndex"},{"$ref":"#/components/parameters/filterTransactionIndexGte"},{"$ref":"#/components/parameters/filterTransactionIndexGt"},{"$ref":"#/components/parameters/filterTransactionIndexLte"},{"$ref":"#/components/parameters/filterTransactionIndexLt"},{"$ref":"#/components/parameters/decode"},{"$ref":"#/components/parameters/filterHash"},{"$ref":"#/components/parameters/filterValue"},{"$ref":"#/components/parameters/filterValueGte"},{"$ref":"#/components/parameters/filterValueGt"},{"$ref":"#/components/parameters/filterValueLte"},{"$ref":"#/components/parameters/filterValueLt"},{"$ref":"#/components/parameters/filterGasPrice"},{"$ref":"#/components/parameters/filterGasPriceGte"},{"$ref":"#/components/parameters/filterGasPriceGt"},{"$ref":"#/components/parameters/filterGasPriceLte"},{"$ref":"#/components/parameters/filterGasPriceLt"},{"$ref":"#/components/parameters/filterGas"},{"$ref":"#/components/parameters/filterGasGte"},{"$ref":"#/components/parameters/filterGasGt"},{"$ref":"#/components/parameters/filterGasLte"},{"$ref":"#/components/parameters/filterGasLt"},{"$ref":"#/components/parameters/filterFunctionSelector"},{"$ref":"#/components/parameters/limit"},{"$ref":"#/components/parameters/page"}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"chain_id":{"type":"string"},"block_number":{"type":"number"},"block_hash":{"type":"string"},"block_timestamp":{"type":"number"},"hash":{"type":"string"},"nonce":{"type":"number"},"transaction_index":{"type":"number"},"from_address":{"type":"string"},"to_address":{"type":"string"},"value":{"type":"string"},"gas_price":{"type":"string"},"gas":{"type":"number"},"function_selector":{"type":"string"},"data":{"type":"string"},"max_fee_per_gas":{"type":"string"},"max_priority_fee_per_gas":{"type":"string"},"transaction_type":{"type":"number"},"r":{"type":"string"},"s":{"type":"string"},"v":{"type":"string"},"access_list_json":{"type":"string"},"authorization_list_json":{"type":"string"},"contract_address":{"type":"string"},"gas_used":{"type":"number"},"cumulative_gas_used":{"type":"number"},"effective_gas_price":{"type":"string"},"blob_gas_used":{"type":"number"},"blob_gas_price":{"type":"string"},"logs_bloom":{"type":"string"},"status":{"type":"number"},"decoded":{"type":"object","properties":{"name":{"type":"string"},"signature":{"type":"string"},"inputs":{"type":"object","additionalProperties":{"nullable":true}}},"required":["name","signature"]}},"required":["chain_id","block_number","block_hash","block_timestamp","hash","nonce","transaction_index","from_address","to_address","value","gas_price","gas","function_selector","data","max_fee_per_gas","max_priority_fee_per_gas","transaction_type","r","s","v"]}},"aggregations":{"nullable":true},"meta":{"type":"object","properties":{"chain_ids":{"type":"array","items":{"type":"number"}},"address":{"type":"string"},"signature":{"type":"string"},"page":{"type":"number"},"limit_per_chain":{"type":"number"},"total_items":{"type":"number"},"total_pages":{"type":"number"}},"required":["chain_ids","page","limit_per_chain","total_items","total_pages"]}},"required":["meta"]}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"]}}}}}}}},"components":{"parameters":{"addressHash":{"name":"address_hash","in":"path","description":"Address hash","required":true,"schema":{"type":"string","pattern":"^0x([A-Fa-f0-9]{40})$"}},"addressName":{"name":"address_name","in":"query","description":"the name of address in watchlist","required":true,"schema":{"type":"string","maxLength":256}},"transactionHash":{"schema":{"type":"string"},"required":true,"name":"transaction_hash","in":"path"},"blockNumberOrHash":{"name":"block_number_or_hash","schema":{"type":"string"},"in":"path","required":true,"description":"Block number or hash"},"id":{"name":"id","schema":{"type":"integer"},"in":"path","required":true,"description":"integer id"},"webhookId":{"schema":{"type":"string","minLength":1},"required":true,"name":"webhook_id","in":"path"},"chain":{"schema":{"type":"array","description":"Use chain_id instead","example":[20,56,1],"items":{"type":"number"}},"required":false,"deprecated":true,"name":"chain","in":"query"},"chainId":{"schema":{"type":"array","description":"The chain ID(s) to request the data for. You can specify multiple chain IDs, up to a maximum of 55.\n    Use repeated query parameters, e.g., `?chain_id=20&chain_id=56`.\n      Optional, because a single chain can as well be specified as a subdomain","example":[20,56,1],"items":{"type":"number"}},"required":false,"name":"chain_id","in":"query"},"filterBlockNumber":{"schema":{"type":"number","nullable":true,"description":"Filter by block number","example":1000000},"required":false,"name":"filter_block_number","in":"query"},"filterBlockNumberGte":{"schema":{"type":"number","nullable":true,"description":"Filter by block number greater than or equal to","example":1000000},"required":false,"name":"filter_block_number_gte","in":"query"},"filterBlockNumberGt":{"schema":{"type":"number","nullable":true,"description":"Filter by block number greater than","example":1000000},"required":false,"name":"filter_block_number_gt","in":"query"},"filterBlockNumberLte":{"schema":{"type":"number","nullable":true,"description":"Filter by block number less than or equal to","example":1000000},"required":false,"name":"filter_block_number_lte","in":"query"},"filterBlockNumberLt":{"schema":{"type":"number","nullable":true,"description":"Filter by block number less than","example":1000000},"required":false,"name":"filter_block_number_lt","in":"query"},"filterBlockHash":{"schema":{"type":"string","description":"Filter by block hash","example":"0x3a1fba5abd9d41457944e91ed097e039b7b12d3d7ba324a3f422db2277a48e28"},"required":false,"name":"filter_block_hash","in":"query"},"filterBlockTimestamp":{"schema":{"type":"number","nullable":true,"description":"Filter by block timestamp","example":1715222400},"required":false,"name":"filter_block_timestamp","in":"query"},"filterBlockTimestampGte":{"schema":{"type":"number","nullable":true,"description":"Filter by block timestamp greater than or equal to","example":1715222400},"required":false,"name":"filter_block_timestamp_gte","in":"query"},"filterBlockTimestampGt":{"schema":{"type":"number","nullable":true,"description":"Filter by block timestamp greater than","example":1715222400},"required":false,"name":"filter_block_timestamp_gt","in":"query"},"filterBlockTimestampLte":{"schema":{"type":"number","nullable":true,"description":"Filter by block timestamp less than or equal to","example":1715222400},"required":false,"name":"filter_block_timestamp_lte","in":"query"},"filterBlockTimestampLt":{"schema":{"type":"number","nullable":true,"description":"Filter by block timestamp less than","example":1715222400},"required":false,"name":"filter_block_timestamp_lt","in":"query"},"sortBy":{"schema":{"anyOf":[{"type":"string","enum":["block_number"],"title":"constant"},{"type":"string","title":"string"}],"description":"Field to sort results by","example":"block_number"},"required":false,"name":"sort_by","in":"query"},"sortOrder":{"schema":{"type":"string","enum":["asc","desc"],"description":"Sort order (asc or desc)","example":"desc"},"required":false,"name":"sort_order","in":"query"},"groupBy":{"schema":{"type":"string","nullable":true,"description":"Field(s) to group by. You can specify multiple with repeated query parameters, e.g., ?group_by=chain_id&group_by=block_number"},"required":false,"name":"group_by","in":"query"},"aggregate":{"schema":{"type":"string","nullable":true,"description":"Aggregation(s). You can specify multiple with repeated query parameters, e.g., ?aggregate=count()&aggregate=sum(gas_used)","example":"count() as count"},"required":false,"name":"aggregate","in":"query"},"filterTransactionIndex":{"schema":{"type":"number","nullable":true,"description":"Filter by transaction index","example":5},"required":false,"name":"filter_transaction_index","in":"query"},"filterTransactionIndexGte":{"schema":{"type":"number","nullable":true,"description":"Filter by transaction index greater than or equal to","example":5},"required":false,"name":"filter_transaction_index_gte","in":"query"},"filterTransactionIndexGt":{"schema":{"type":"number","nullable":true,"description":"Filter by transaction index greater than","example":5},"required":false,"name":"filter_transaction_index_gt","in":"query"},"filterTransactionIndexLte":{"schema":{"type":"number","nullable":true,"description":"Filter by transaction index less than or equal to","example":5},"required":false,"name":"filter_transaction_index_lte","in":"query"},"filterTransactionIndexLt":{"schema":{"type":"number","nullable":true,"description":"Filter by transaction index less than","example":5},"required":false,"name":"filter_transaction_index_lt","in":"query"},"decode":{"schema":{"type":"boolean","nullable":true,"description":"Enable ABI decoding of the transactions/events data","example":true},"required":false,"name":"decode","in":"query"},"filterTransactionHash":{"schema":{"type":"string","description":"Filter by transaction hash","example":"0x218b632d932371478d1ae5a01620ebab1a2030f9dad6f8fba4a044ea6335a57e"},"required":false,"name":"filter_transaction_hash","in":"query"},"filterLogIndex":{"schema":{"type":"number","nullable":true,"description":"Filter by log index","example":5},"required":false,"name":"filter_log_index","in":"query"},"filterLogIndexGte":{"schema":{"type":"number","nullable":true,"description":"Filter by log index greater than or equal to","example":5},"required":false,"name":"filter_log_index_gte","in":"query"},"filterLogIndexGt":{"schema":{"type":"number","nullable":true,"description":"Filter by log index greater than","example":5},"required":false,"name":"filter_log_index_gt","in":"query"},"filterLogIndexLte":{"schema":{"type":"number","nullable":true,"description":"Filter by log index less than or equal to","example":5},"required":false,"name":"filter_log_index_lte","in":"query"},"filterLogIndexLt":{"schema":{"type":"number","nullable":true,"description":"Filter by log index less than","example":5},"required":false,"name":"filter_log_index_lt","in":"query"},"filterTopic_1":{"schema":{"type":"string","description":"Filter by topic 1","example":"0xa6697e974e6a320f454390be03f74955e8978f1a6971ea6730542e37b66179bc"},"required":false,"name":"filter_topic_1","in":"query"},"filterTopic_2":{"schema":{"type":"string","description":"Filter by topic 2","example":"0xa6697e974e6a320f454390be03f74955e8978f1a6971ea6730542e37b66179bc"},"required":false,"name":"filter_topic_2","in":"query"},"filterTopic_3":{"schema":{"type":"string","description":"Filter by topic 3","example":"0xa6697e974e6a320f454390be03f74955e8978f1a6971ea6730542e37b66179bc"},"required":false,"name":"filter_topic_3","in":"query"},"filterTopic_0":{"schema":{"type":"string","description":"Filter by topic 0","example":"0xa6697e974e6a320f454390be03f74955e8978f1a6971ea6730542e37b66179bc"},"required":false,"name":"filter_topic_0","in":"query"},"filterAddress":{"schema":{"type":"string","description":"Filter by address","title":"address (hex or ENS)","example":"0x5564886ca2c518d1964e5fcea4f423b41db9f561"},"required":false,"name":"filter_address","in":"query"},"limit":{"schema":{"type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":1000,"default":20,"description":"The number of items to return","example":20},"required":false,"name":"limit","in":"query"},"page":{"schema":{"type":"integer","nullable":true,"minimum":0,"default":0,"description":"Page number (0-indexed). Maximum value depends on query parameters: 20 for regular queries, 500 when using aggregate or group_by parameters.","example":0},"required":false,"name":"page","in":"query"},"contractAddress":{"schema":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"required":true,"name":"contract_address","in":"path"},"signature":{"schema":{"type":"string"},"required":true,"name":"signature","in":"path"},"filterHash":{"schema":{"type":"string","description":"Filter by transaction hash","example":"0x218b632d932371478d1ae5a01620ebab1a2030f9dad6f8fba4a044ea6335a57e"},"required":false,"name":"filter_hash","in":"query"},"filterFromAddress":{"schema":{"type":"string","description":"Filter by from address","title":"address (hex or ENS)","example":"0xa1e4380a3b1f749673e270229993ee55f35663b4"},"required":false,"name":"filter_from_address","in":"query"},"filterValue":{"schema":{"type":"number","nullable":true,"description":"Filter by value","example":21000000000000},"required":false,"name":"filter_value","in":"query"},"filterValueGte":{"schema":{"type":"number","nullable":true,"description":"Filter by value greater than or equal to","example":21000000000000},"required":false,"name":"filter_value_gte","in":"query"},"filterValueGt":{"schema":{"type":"number","nullable":true,"description":"Filter by value greater than","example":21000000000000},"required":false,"name":"filter_value_gt","in":"query"},"filterValueLte":{"schema":{"type":"number","nullable":true,"description":"Filter by value less than or equal to","example":21000000000000},"required":false,"name":"filter_value_lte","in":"query"},"filterValueLt":{"schema":{"type":"number","nullable":true,"description":"Filter by value less than","example":21000000000000},"required":false,"name":"filter_value_lt","in":"query"},"filterGasPrice":{"schema":{"type":"number","nullable":true,"description":"Filter by gas price","example":50000000000000},"required":false,"name":"filter_gas_price","in":"query"},"filterGasPriceGte":{"schema":{"type":"number","nullable":true,"description":"Filter by gas price greater than or equal to","example":50000000000000},"required":false,"name":"filter_gas_price_gte","in":"query"},"filterGasPriceGt":{"schema":{"type":"number","nullable":true,"description":"Filter by gas price greater than","example":50000000000000},"required":false,"name":"filter_gas_price_gt","in":"query"},"filterGasPriceLte":{"schema":{"type":"number","nullable":true,"description":"Filter by gas price less than or equal to","example":50000000000000},"required":false,"name":"filter_gas_price_lte","in":"query"},"filterGasPriceLt":{"schema":{"type":"number","nullable":true,"description":"Filter by gas price less than","example":50000000000000},"required":false,"name":"filter_gas_price_lt","in":"query"},"filterGas":{"schema":{"type":"number","nullable":true,"description":"Filter by gas","example":21000},"required":false,"name":"filter_gas","in":"query"},"filterGasGte":{"schema":{"type":"number","nullable":true,"description":"Filter by gas greater than or equal to","example":21000},"required":false,"name":"filter_gas_gte","in":"query"},"filterGasGt":{"schema":{"type":"number","nullable":true,"description":"Filter by gas greater than","example":21000},"required":false,"name":"filter_gas_gt","in":"query"},"filterGasLte":{"schema":{"type":"number","nullable":true,"description":"Filter by gas less than or equal to","example":21000},"required":false,"name":"filter_gas_lte","in":"query"},"filterGasLt":{"schema":{"type":"number","nullable":true,"description":"Filter by gas less than","example":21000},"required":false,"name":"filter_gas_lt","in":"query"},"filterFunctionSelector":{"schema":{"type":"string","description":"Filter by function selector","example":"0x095ea7b3"},"required":false,"name":"filter_function_selector","in":"query"},"filterToAddress":{"schema":{"type":"string","description":"Filter by to address","title":"address (hex or ENS)","example":"0xa1e4380a3b1f749673e270229993ee55f35663b4"},"required":false,"name":"filter_to_address","in":"query"},"metadata":{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include metadata for the tokens","example":"false"},"required":false,"name":"metadata","in":"query"},"includeOwners":{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include owner addresses in the NFT metadata (only if metadata is requested)","example":"false"},"required":false,"name":"include_owners","in":"query"},"tokenTypes":{"schema":{"type":"array","description":"The types of tokens to include in the response. Can be an empty array to include all types","items":{"type":"string","enum":["erc1155","erc721","erc20"]},"uniqueItems":true},"required":false,"name":"token_types","in":"query"},"blockNumberFrom":{"schema":{"anyOf":[{"type":"number","title":"number"},{"type":"string","pattern":"^\\d+$","title":"string"}],"description":"Filter by block number greater than or equal to","example":"1000000"},"required":false,"name":"block_number_from","in":"query"},"blockNumberTo":{"schema":{"anyOf":[{"type":"number","title":"number"},{"type":"string","pattern":"^\\d+$","title":"string"}],"description":"Filter by block number less than or equal to","example":"1000000"},"required":false,"name":"block_number_to","in":"query"},"blockTimestampFrom":{"schema":{"type":"integer","minimum":0,"exclusiveMinimum":true,"description":"Filter by block timestamp greater than or equal to","example":1749768884},"required":false,"name":"block_timestamp_from","in":"query"},"blockTimestampTo":{"schema":{"type":"integer","minimum":0,"exclusiveMinimum":true,"description":"Filter by block timestamp less than or equal to","example":1749768884},"required":false,"name":"block_timestamp_to","in":"query"},"ownerAddress":{"schema":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"required":true,"name":"ownerAddress","in":"path"},"transferType":{"schema":{"type":"string","enum":["mint","transfer","burn"],"description":"Only include transfers of a certain type","example":"mint"},"required":false,"name":"transfer_type","in":"query"},"resolveMetadataLinks":{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to resolve metadata IPFS or Arweave links","example":"false"},"required":false,"name":"resolve_metadata_links","in":"query"},"includeSpam":{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include spam tokens","example":"false"},"required":false,"name":"include_spam","in":"query"},"includeNative":{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to include native tokens","example":"true"},"required":false,"name":"include_native","in":"query"},"tokenAddress":{"schema":{"type":"array","description":"Address(es) to filter by. You can specify multiple addresses using repeated query parameters, e.g., ?address=0x123&address=0x456","example":["0x1234567890123456789012345678901234567890","vitalik.eth"],"items":{"type":"string"}},"required":false,"name":"token_address","in":"query"},"includeWithoutPrice":{"schema":{"type":"string","enum":["true","false"],"default":"true","description":"Whether to include tokens that don't have price data (only applies when metadata=true)","example":"true"},"required":false,"name":"include_without_price","in":"query"},"address":{"schema":{"anyOf":[{"type":"array","items":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}},{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}],"description":"The address of the token to get the price for","example":["0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"]},"required":false,"name":"address","in":"query"},"symbol":{"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string","nullable":true},{"nullable":true}],"description":"The symbol of the token to get the price for","example":["ETH","USDC"]},"required":false,"name":"symbol","in":"query"},"timestamp":{"schema":{"type":"integer","minimum":0,"exclusiveMinimum":true,"description":"Timestamp in seconds or milliseconds"},"required":false,"name":"timestamp","in":"query"},"includeHistoricalPrices":{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include historical token prices","example":"true"},"required":false,"name":"include_historical_prices","in":"query"},"includeHolders":{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include the number of holders","example":"true"},"required":false,"name":"include_holders","in":"query"},"input":{"schema":{"anyOf":[{"type":"string","pattern":"^0x[a-fA-F0-9]{64}$","title":"hash","example":"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"},{"type":"string","pattern":"^0x[a-fA-F0-9]{8}$","title":"function selector","example":"0xe8bb3b6c"},{"type":"string","pattern":"^\\d+$","title":"block number string","example":"20000000"},{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"}],"description":"Can be a block number, transaction or block hash, address, event signature or function selector","example":"0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"},"required":true,"name":"input","in":"path"},"includeStats":{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include stats for the collection","example":"false"},"required":false,"name":"include_stats","in":"query"},"includeBalances":{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Control if the result is an array of addresses only or an array of objects containing the address and balance","example":"true"},"required":false,"name":"include_balances","in":"query"},"tokenId":{"schema":{"type":"string"},"required":true,"name":"token_id","in":"path"},"sales":{"schema":{"type":"string","enum":["true","false"],"default":"false","description":"Whether to include sale details for NFT transfers","example":"false"},"required":false,"name":"sales","in":"query"},"walletAddress":{"schema":{"type":"string","title":"address (hex or ENS)","example":"vitalik.eth"},"required":true,"name":"wallet_address","in":"path"}},"schemas":{"Block":{"type":"object","required":["base_fee_per_gas","burnt_fees","burnt_fees_percentage","difficulty","extra_data","gas_limit","gas_target_percentage","gas_used","gas_used_percentage","hash","height","miner","nonce","parent_hash","priority_fee","rewards","size","state_root","timestamp","total_difficulty","transaction_count","transaction_fees","type","uncles_hashes","withdrawals_count"],"properties":{"base_fee_per_gas":{"type":"string","example":"26618801760"},"burnt_fees":{"type":"string","example":"261263193229977120"},"burnt_fees_percentage":{"type":"number","example":85.19028810863084},"difficulty":{"type":"string","example":"0"},"extra_data":{"type":"string","example":"TODO"},"gas_limit":{"type":"string","example":"30000000"},"gas_target_percentage":{"type":"number","example":-34.56675333333333},"gas_used":{"type":"string","example":"9814987"},"gas_used_percentage":{"type":"number","example":32.71662333333333},"hash":{"type":"string","example":"0xf569ec751152b2f814001fc730f7797aa155e4bc3ba9cb6ba24bc2c8c9468c1a"},"height":{"type":"integer","example":17615720},"miner":{"$ref":"#/components/schemas/AddressParam"},"nonce":{"type":"string","example":"0x0000000000000000"},"parent_hash":{"type":"string","example":"0xd464e02d81e2bdf6bc5fa9b8e33f0b564c464a82d821a3e56531f8636dc00dfa"},"priority_fee":{"type":"string","example":"45418705646601378"},"rewards":{"type":"array","items":{"$ref":"#/components/schemas/Reward"}},"size":{"type":"integer","example":49997},"state_root":{"type":"string","example":"TODO"},"timestamp":{"type":"string","example":"2023-07-03T20:09:59.000000Z"},"total_difficulty":{"type":"string","example":"58750003716598352816469"},"transaction_count":{"type":"integer","example":120},"transaction_fees":{"type":"string","example":"306681898876578498"},"type":{"type":"string","example":"block"},"uncles_hashes":{"type":"array","items":{"type":"string","example":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"}},"withdrawals_count":{"type":"integer","example":16}}},"TokenTransfer":{"type":"object","required":["block_hash","from","log_index","to","token","total","transaction_hash","type"],"properties":{"block_hash":{"type":"string","example":"0xf569ec751152b2f814001fc730f7797aa155e4bc3ba9cb6ba24bc2c8c9468c1a"},"from":{"$ref":"#/components/schemas/AddressParam"},"log_index":{"type":"integer","example":16},"method":{"type":"string","example":"transfer"},"timestamp":{"type":"string","example":"2023-07-03T20:09:59.000000Z"},"to":{"$ref":"#/components/schemas/AddressParam"},"token":{"$ref":"#/components/schemas/TokenInfo"},"total":{"oneOf":[{"$ref":"#/components/schemas/TotalERC20"},{"$ref":"#/components/schemas/TotalERC721"},{"$ref":"#/components/schemas/TotalERC1155"}]},"transaction_hash":{"type":"string","example":"0x6662ad1ad2ea899e9e27832dc202fd2ef915a5d2816c1142e6933cff93f7c592"},"type":{"type":"string","example":"token_transfer"}}},"RawTrace":{"type":"object","required":["action","subtraces","traceAddress","type"],"properties":{"action":{"oneOf":[{"$ref":"#/components/schemas/RawTraceCallAction"},{"$ref":"#/components/schemas/RawTraceCreateAction"},{"$ref":"#/components/schemas/RawTraceSelfDestructAction"}]},"subtraces":{"type":"integer","example":0},"traceAddress":{"type":"array","items":{"type":"integer"},"example":[0,0]},"type":{"type":"string","example":"call"},"error":{"type":"string","example":"Reverted"},"result":{"oneOf":[{"$ref":"#/components/schemas/RawTraceCallResult"},{"$ref":"#/components/schemas/RawTraceCreateResult"}]}}},"RawTraceCallAction":{"type":"object","required":["callType","to","from","input","gas","value"],"properties":{"callType":{"type":"string","example":"call"},"to":{"type":"string","example":"0x162e898bd0aacb578c8d5f8d6ca588c13d2a383f"},"from":{"type":"string","example":"0xf57b55b01b831e602e09674a4e5d69cbcf343f98"},"input":{"type":"string","example":"0x630cea8e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000041c25b36779231e71769118210c3eb64c0a9c7577b925b309af3183e13acc7cf30210493d13c8c6c3c0bd337d5e39e454fece0c301f0aedb6c43c7a37650ac83e71c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019500050000f0add9e5dc02faeca12e9669f045685449d6b80a000000000000744359447362798334d3485c64d1e4870fde2ddc0d75f0b456250dc9990662a6f25808cc74a6d1131ea9000927c001018064382ae87cdd000000000000000000000000bab3cbdcbcc578445480a79ed80269c50bb5b71800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000351af1631aa5ea1ca62ad8a4e3cd87128d4d910800000000000000000000000000000000000000000000005b8decde02914ce837000000000000000000000000000000000000000000000000000000000000001e4d45444f4f5a412045636f73797374656d2076322e30206f6e2078446169000000000000000000000000000000000000000000000000000000000000000000044d445a41000000000000000000000000000000000000000000000000000000000000000000000000000000"},"gas":{"type":"string","example":"0x25D3FC"},"value":{"type":"string","example":"0x0"}}},"RawTraceCreateAction":{"type":"object","required":["from","gas","init","value"],"properties":{"from":{"type":"string","example":"0xf57b55b01b831e602e09674a4e5d69cbcf343f98"},"gas":{"type":"string","example":"0x25D3FC"},"init":{"type":"string","example":"0x630cea8e000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000041c25b36779231e71769118210c3eb64c0a9c7577b925b309af3183e13acc7cf30210493d13c8c6c3c0bd337d5e39e454fece0c301f0aedb6c43c7a37650ac83e71c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000019500050000f0add9e5dc02faeca12e9669f045685449d6b80a000000000000744359447362798334d3485c64d1e4870fde2ddc0d75f0b456250dc9990662a6f25808cc74a6d1131ea9000927c001018064382ae87cdd000000000000000000000000bab3cbdcbcc578445480a79ed80269c50bb5b71800000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000351af1631aa5ea1ca62ad8a4e3cd87128d4d910800000000000000000000000000000000000000000000005b8decde02914ce837000000000000000000000000000000000000000000000000000000000000001e4d45444f4f5a412045636f73797374656d2076322e30206f6e2078446169000000000000000000000000000000000000000000000000000000000000000000044d445a41000000000000000000000000000000000000000000000000000000000000000000000000000000"},"value":{"type":"string","example":"0x0"}}},"RawTraceSelfDestructAction":{"type":"object","required":["address","balance","refundAddress"],"properties":{"address":{"type":"string","example":"0xf57b55b01b831e602e09674a4e5d69cbcf343f98"},"balance":{"type":"string","example":"0x25D3FC"},"refundAddress":{"type":"string","example":"0x162e898bd0aacb578c8d5f8d6ca588c13d2a383f"}}},"RawTraceCallResult":{"type":"object","required":["gasUsed","output"],"properties":{"gasUsed":{"type":"string","example":"0x25D3FC"},"output":{"type":"string","example":"0x0"}}},"RawTraceCreateResult":{"type":"object","required":["address","code","gasUsed"],"properties":{"address":{"type":"string","example":"0xf57b55b01b831e602e09674a4e5d69cbcf343f98"},"code":{"type":"string","example":"0x25D3FC"},"gasUsed":{"type":"string","example":"0x25D3FC"}}},"Log":{"type":"object","required":["address","data","decoded","index","smart_contract","topics","transaction_hash"],"properties":{"address":{"$ref":"#/components/schemas/AddressParam"},"block_hash":{"type":"string","example":"0xf90fdff5f174f7f29ebdf203d32cad2fe95376e41880bb9e731ca5eb0eef7941"},"block_number":{"type":"integer","example":8844586},"data":{"type":"string","example":"0x000000000000000000000000000000000000000000000000006a94d74f430000"},"decoded":{"$ref":"#/components/schemas/DecodedInputLog","example":{"method_call":"Transfer(address indexed from, address indexed to, uint256 tokens)","method_id":"0x630cea8e","parameters":[{"name":"signature","type":"bytes","indexed?":true,"value":"0x0"},{"name":"message","type":"bytes","indexed?":false,"value":"0x01"}]}},"index":{"type":"integer","example":35},"smart_contract":{"$ref":"#/components/schemas/AddressParam"},"topics":{"type":"array","items":{"type":"string","example":"0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c"}},"transaction_hash":{"type":"string","example":"0x08ea4d75ad0abe327a7fd368733eaeac43077989e635d800530d7906ebf3bd54"}}},"InternalTransaction":{"type":"object","required":["block_number","created_contract","error","from","gas_limit","index","success","timestamp","to","transaction_hash","type","value"],"properties":{"block_number":{"type":"integer","example":8844586},"created_contract":{"$ref":"#/components/schemas/AddressParam"},"error":{"type":"string","example":"reverted"},"from":{"$ref":"#/components/schemas/AddressParam"},"gas_limit":{"type":"string","example":"351759"},"index":{"type":"integer","example":1},"success":{"type":"boolean","example":true},"timestamp":{"type":"string","example":"2023-04-17T10:37:12.000000Z"},"to":{"$ref":"#/components/schemas/AddressParam"},"transaction_hash":{"type":"string","example":"0x08ea4d75ad0abe327a7fd368733eaeac43077989e635d800530d7906ebf3bd54"},"type":{"type":"string","example":"call"},"value":{"type":"string","example":"30000000000000000"}}},"Fee":{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","example":"maximum | actual"},"value":{"type":"string","example":"9853224000000000"}}},"Transaction":{"type":"object","required":["timestamp","fee","gas_limit","block_number","status","method","confirmations","type","exchange_rate","to","transaction_burnt_fee","max_fee_per_gas","result","hash","gas_price","priority_fee","base_fee_per_gas","from","token_transfers","transaction_types","gas_used","created_contract","position","nonce","has_error_in_internal_transactions","actions","decoded_input","token_transfers_overflow","raw_input","value","max_priority_fee_per_gas","revert_reason","confirmation_duration","transaction_tag"],"properties":{"timestamp":{"type":"string","example":"2022-08-02T07:18:05.000000Z"},"fee":{"$ref":"#/components/schemas/Fee"},"gas_limit":{"type":"integer"},"block_number":{"type":"integer","format":"int32","example":23484035},"status":{"type":"string","example":"ok | error"},"method":{"type":"string","example":"transferFrom"},"confirmations":{"type":"integer","example":1035},"type":{"type":"integer","example":2},"exchange_rate":{"type":"string","example":"1866.51"},"to":{"nullable":"true,","$ref":"#/components/schemas/AddressParam"},"transaction_burnt_fee":{"type":"string","example":"1099596081903840"},"max_fee_per_gas":{"type":"string","example":"55357460102"},"result":{"type":"string","example":"Error: (Awaiting internal transactions for reason)"},"hash":{"type":"string","example":"0x5d90a9da2b8da402b11bc92c8011ec8a62a2d59da5c7ac4ae0f73ec51bb73368"},"gas_price":{"type":"string","example":"26668595172"},"priority_fee":{"type":"string","example":"2056916056308"},"base_fee_per_gas":{"type":"string","example":"26618801760"},"from":{"$ref":"#/components/schemas/AddressParam"},"token_transfers":{"type":"array","items":{"$ref":"#/components/schemas/TokenTransfer"}},"transaction_types":{"type":"array","items":{"type":"string"},"example":["token_transfer","contract_creation","contract_call","token_creation","coin_transfer"]},"gas_used":{"type":"string","example":"41309"},"created_contract":{"nullable":"true,","$ref":"#/components/schemas/AddressParam"},"position":{"type":"integer","example":117},"nonce":{"type":"integer","example":115},"has_error_in_internal_transactions":{"type":"boolean","example":false},"actions":{"type":"array","items":{"$ref":"#/components/schemas/TransactionAction"}},"decoded_input":{"$ref":"#/components/schemas/DecodedInput"},"token_transfers_overflow":{"type":"boolean","example":false},"raw_input":{"type":"string","example":"0xa9059cbb000000000000000000000000ef8801eaf234ff82801821ffe2d78d60a0237f97000000000000000000000000000000000000000000000000000000003178cb80"},"value":{"type":"string","example":"0"},"max_priority_fee_per_gas":{"type":"string","example":"49793412"},"revert_reason":{"type":"string","example":"Error: (Awaiting internal transactions for reason)"},"confirmation_duration":{"type":"object","example":[0,17479]},"transaction_tag":{"type":"string","example":"private_transaction_tag"}}},"ExtendedRevertReasonAsMap":{"type":"object","required":["raw","code","message"],"properties":{"raw":{"type":"string","example":"4b415032303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365"},"code":{"type":"integer"},"message":{"type":"string","example":"Reverted"}}},"ReadMethodWithValue":{"type":"object","example":{"inputs":[],"method_id":"2e64cec1","name":"retrieve","outputs":[{"internalType":"uint256","name":"","type":"uint256","value":0}],"stateMutability":"view","type":"function"}},"ReadMethodWithoutValue":{"type":"object","example":{"inputs":[],"method_id":"f851a440","name":"admin","outputs":[{"internalType":"address","name":"admin_","type":"address"}],"stateMutability":"nonpayable","type":"function"}},"WriteMethod":{"type":"object","example":{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"store","outputs":[],"stateMutability":"nonpayable","type":"function"}},"DecodedInput":{"type":"object","required":["method_call","method_id","parameters"],"properties":{"method_call":{"type":"string","example":"transferFrom(address _from, address _to, uint256 _value)"},"method_id":{"type":"string","example":"23b872dd"},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/DecodedInputParameter"}}}},"TokenAddressParam":{"type":"object","required":["hash","implementation_name","is_contract","is_verified","name","private_tags","public_tags","watchlist_names"],"properties":{"hash":{"type":"string","example":"0xEb533ee5687044E622C69c58B1B12329F56eD9ad"},"implementation_name":{"type":"string","example":"implementationName"},"name":{"type":"string","example":"contractName"},"is_contract":{"type":"boolean"},"is_verified":{"type":"boolean"},"private_tags":{"type":"array","items":{"$ref":"#/components/schemas/AddressTag"}},"public_tags":{"type":"array","items":{"$ref":"#/components/schemas/AddressTag"}},"watchlist_names":{"type":"array","items":{"$ref":"#/components/schemas/WatchlistName"}},"address":{"type":"string","example":"0x123abc...","description":"Address"}}},"TransactionSummary":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","example":true},"data":{"$ref":"#/components/schemas/TransactionSummaryObj"}}},"TransactionSummaryObj":{"type":"object","properties":{"summaries":{"type":"array","items":{"$ref":"#/components/schemas/Summary"}}}},"Summary":{"type":"object","required":["summary_template","summary_template_variables"],"properties":{"summary_template":{"type":"string","example":"{action_type} of {amount} {token}","description":"Summary template"},"summary_template_variables":{"$ref":"#/components/schemas/SummaryTemplateVariables","description":"Variables for summary"}}},"SummaryTemplateVariables":{"type":"object","required":["action_type","amount","token"],"properties":{"action_type":{"$ref":"#/components/schemas/SummaryVariable","description":"Action type"},"amount":{"$ref":"#/components/schemas/SummaryVariableCurrency","description":"Amount"},"token":{"$ref":"#/components/schemas/SummaryVariableToken","description":"Token info"}}},"SummaryVariable":{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","example":"string","description":"Variable type"},"value":{"type":"string","example":"Registered withdrawal of","description":"Action Type"}}},"SummaryVariableCurrency":{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","example":"currency","description":"Currency type"},"value":{"type":"string","example":"0.195999999980484004","description":"Value"}}},"SummaryVariableToken":{"type":"object","required":["type","value"],"properties":{"type":{"type":"string","example":"token","description":"Type"},"value":{"$ref":"#/components/schemas/TokenInfoDetailed","description":"Token info"}}},"TokenInfoDetailed":{"type":"object","required":["address","circulating_market_cap","decimals","exchange_rate","holders","icon_url","name","symbol","total_supply","type","volume_24h"],"properties":{"address":{"type":"string","example":"0xBEEF69Ac7870777598A04B2bd4771c71212E6aBc","description":"Token Address"},"circulating_market_cap":{"type":"string","example":"0.0","description":"Token circulating market cap"},"decimals":{"type":"string","example":"18","description":"Token decimals"},"exchange_rate":{"type":"string","example":"2890.96","description":"Token exchange rate"},"holders":{"type":"string","example":"2999","description":"Token holders amount"},"icon_url":{"type":"string","example":"https://assets.coingecko.com/coins/images/39410/small/Steakhouse_logo-05.jpg?1722053893","description":"Token image URL "},"name":{"type":"string","example":"Steakhouse Resteaking Vault","description":"Token name"},"symbol":{"type":"string","example":"steakLRT","description":"Token symbol"},"total_supply":{"type":"string","example":"9710057205959239302188","description":"Token total supply"},"type":{"type":"string","example":"ERC-20","description":"Token type"},"volume_24h":{"type":"string","example":"24298.765344836862","description":"Token trading volume for past 24h"}}},"DecodedInputParameter":{"type":"object","required":["name","type","value"],"properties":{"name":{"type":"string","example":"signature"},"type":{"type":"string","example":"bytes"},"value":{"type":"string","example":"0x0"}}},"DecodedInputLog":{"type":"object","required":["method_call","method_id","parameters"],"properties":{"method_call":{"type":"string","example":"transferFrom(address _from, address _to, uint256 _value)"},"method_id":{"type":"string","example":"23b872dd"},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/DecodedInputLogParameter"}}}},"DecodedInputLogParameter":{"type":"object","required":["name","type","value","indexed"],"properties":{"name":{"type":"string","example":"signature"},"type":{"type":"string","example":"bytes"},"value":{"type":"string","example":"0x0"},"indexed":{"type":"boolean"}}},"AddressParam":{"type":"object","required":["hash","implementation_name","is_contract","is_verified","name","private_tags","public_tags","watchlist_names"],"properties":{"hash":{"type":"string","example":"0xEb533ee5687044E622C69c58B1B12329F56eD9ad"},"implementation_name":{"type":"string","example":"implementationName"},"name":{"type":"string","example":"contractName"},"ens_domain_name":{"type":"string","example":"domain.eth"},"metadata":{"type":"object","example":{"slug":"tag_slug","name":"Tag name","tagType":"name","ordinal":0,"meta":{}}},"is_contract":{"type":"boolean"},"private_tags":{"type":"array","items":{"$ref":"#/components/schemas/AddressTag"}},"watchlist_names":{"type":"array","items":{"$ref":"#/components/schemas/WatchlistName"}},"public_tags":{"type":"array","items":{"$ref":"#/components/schemas/AddressTag"}},"is_verified":{"type":"boolean"}}},"AddressTag":{"type":"object","required":["address_hash","display_name","label"],"properties":{"address_hash":{"type":"string","example":"0xEb533ee5687044E622C69c58B1B12329F56eD9ad"},"display_name":{"type":"string","example":"name to show"},"label":{"type":"string","example":"label"}}},"WatchlistName":{"type":"object","required":["display_name","label"],"properties":{"display_name":{"type":"string","example":"name to show"},"label":{"type":"string","example":"label"}}},"Address":{"type":"object","required":["hash"],"properties":{"creator_address_hash":{"type":"string","example":"0xEb533ee5687044E622C69c58B1B12329F56eD9ad"},"creation_transaction_hash":{"type":"string","example":"0x1f610ff9c1efad6b5a8bb6afcc0786cd7343f03f9a61e2544fcff908cedee924"},"token":{"$ref":"#/components/schemas/TokenInfo"},"coin_balance":{"type":"string","example":"10000000"},"exchange_rate":{"type":"string","example":"1.01"},"implementation_address":{"type":"string","example":"0xEb533ee5687044E622C69c58B1B12329F56eD9ad"},"block_number_balance_updated_at":{"type":"integer","example":27656552},"hash":{"type":"string","example":"0xEb533ee5687044E622C69c58B1B12329F56eD9ad"},"implementation_name":{"type":"string","example":"implementationName"},"name":{"type":"string","example":"contractName"},"is_contract":{"type":"boolean"},"private_tags":{"type":"array","items":{"$ref":"#/components/schemas/AddressTag"}},"watchlist_names":{"type":"array","items":{"$ref":"#/components/schemas/WatchlistName"}},"public_tags":{"type":"array","items":{"$ref":"#/components/schemas/AddressTag"}},"is_verified":{"type":"boolean"},"has_beacon_chain_withdrawals":{"type":"boolean"},"has_logs":{"type":"boolean"},"has_token_transfers":{"type":"boolean"},"has_tokens":{"type":"boolean"},"has_validated_blocks":{"type":"boolean"}}},"AddressWithTxCount":{"allOf":[{"$ref":"#/components/schemas/Address"},{"type":"object","required":["transaction_count"],"properties":{"transaction_count":{"type":"string","example":"1234"}}}]},"Reward":{"type":"object","required":["reward","type"],"properties":{"reward":{"type":"integer"},"type":{"type":"string","example":"Miner Reward | Emission Reward | Chore Reward | Uncle Reward"}}},"TransactionReward":{"type":"object","required":["emission_reward","block_hash","from","to","types"],"properties":{"types":{"type":"object","example":["reward"]},"emission_reward":{"type":"string","example":"500000000000000000"},"block_hash":{"type":"string","example":"0x3169a7e9c513462403abb40eaa4fa51c5fbe1b908606e6eeef16232e308cb464"},"from":{"$ref":"#/components/schemas/AddressParam"},"to":{"$ref":"#/components/schemas/AddressParam"}}},"AddressCounters":{"type":"object","required":["transactions_count","token_transfers_count","gas_usage_count","validations_count"],"properties":{"transactions_count":{"type":"string","example":"0"},"token_transfers_count":{"type":"string","example":"0"},"gas_usage_count":{"type":"string","example":"0"},"validations_count":{"type":"string","example":"0"}}},"TokenBalance":{"type":"object","required":["value","token","token_id"],"properties":{"token_instance":{"$ref":"#/components/schemas/NFTInstance"},"value":{"type":"string","example":"10000"},"token_id":{"type":"string","example":"123"},"token":{"$ref":"#/components/schemas/Token"}}},"CoinBalanceHistoryEntry":{"type":"object","required":["block_number","block_timestamp","delta","value"],"properties":{"transaction_hash":{"type":"string","example":"0x1f610ff9c1efad6b5a8bb6afcc0786cd7343f03f9a61e2544fcff908cedee924"},"block_number":{"type":"integer","example":1584930},"block_timestamp":{"type":"string","example":"2022-08-02T07:18:05.000000Z"},"delta":{"type":"string","example":"-234959404"},"value":{"type":"string","example":"100232323"}}},"CoinBalanceHistoryByDaysEntry":{"type":"object","required":["date","value"],"properties":{"date":{"type":"string","example":"2022-08-02"},"value":{"type":"number","example":"100232323"}}},"Token":{"type":"object","required":["address","symbol","name","decimals","type","holders","exchange_rate","total_supply"],"properties":{"name":{"type":"string","example":"Tether USD"},"decimals":{"type":"string","example":"16"},"symbol":{"type":"string","example":"USDT"},"address":{"type":"string","example":"0x394c399dbA25B99Ab7708EdB505d755B3aa29997"},"type":{"type":"string","example":"ERC-20"},"holders":{"type":"integer","example":837494234523},"exchange_rate":{"type":"string","example":"0.99"},"total_supply":{"type":"string","example":"10000000"}}},"TotalERC20":{"required":["decimals","value"],"properties":{"decimals":{"type":"string","example":"18"},"value":{"type":"string","example":"1000"}}},"TotalERC721":{"required":["token_id"],"properties":{"token_id":{"type":"string","example":"1"},"token_instance":{"$ref":"#/components/schemas/NFTInstance"}}},"TotalERC1155":{"required":["token_id","decimals","value"],"properties":{"token_id":{"type":"string","example":"1"},"decimals":{"type":"string","example":null},"value":{"type":"string","example":"1000"},"token_instance":{"$ref":"#/components/schemas/NFTInstance"}}},"Holder":{"required":["address","value","token"],"properties":{"address":{"$ref":"#/components/schemas/AddressParam"},"value":{"type":"string","example":"10000"},"token_id":{"type":"string","example":"10000"}}},"NFTInstance":{"required":["is_unique","id","token","owner"],"properties":{"is_unique":{"type":"boolean"},"id":{"type":"string","example":"431"},"holder_address_hash":{"type":"string","example":"0x394c399dbA25B99Ab7708EdB505d755B3aa29997"},"image_url":{"type":"string","example":"example.com/picture.png"},"animation_url":{"type":"string","example":"example.com/video.mp4"},"external_app_url":{"type":"string","example":"d-app.com"},"metadata":{"type":"object","example":{"year":2023,"tags":["poap","event"],"name":"Social Listening Committee #2 Attendees","image_url":"https://assets.poap.xyz/chanel-poap-4c-2023-logo-1675083420470.png","home_url":"https://app.poap.xyz/token/6292128","external_url":"https://api.poap.tech/metadata/99010/6292128","description":"This is the POAP for attendees of the second Social Listening Committee.","attributes":[{"value":"01-Feb-2023","trait_type":"startDate"},{"value":"01-Feb-2023","trait_type":"endDate"},{"value":"false","trait_type":"virtualEvent"},{"value":"Paris","trait_type":"city"},{"value":"France","trait_type":"country"},{"value":"https://www.chanel.com","trait_type":"eventURL"}]}},"owner":{"$ref":"#/components/schemas/AddressParam"},"token":{"$ref":"#/components/schemas/TokenInfo"}}},"AddressNFTInstance":{"required":["token_type","value","is_unique","id","token","owner"],"properties":{"is_unique":{"type":"boolean"},"id":{"type":"string","example":"431"},"holder_address_hash":{"type":"string","example":"0x394c399dbA25B99Ab7708EdB505d755B3aa29997"},"image_url":{"type":"string","example":"example.com/picture.png"},"animation_url":{"type":"string","example":"example.com/video.mp4"},"external_app_url":{"type":"string","example":"d-app.com"},"metadata":{"type":"object","example":{"year":2023,"tags":["poap","event"],"name":"Social Listening Committee #2 Attendees","image_url":"https://assets.poap.xyz/chanel-poap-4c-2023-logo-1675083420470.png","home_url":"https://app.poap.xyz/token/6292128","external_url":"https://api.poap.tech/metadata/99010/6292128","description":"This is the POAP for attendees of the second Social Listening Committee.","attributes":[{"value":"01-Feb-2023","trait_type":"startDate"},{"value":"01-Feb-2023","trait_type":"endDate"},{"value":"false","trait_type":"virtualEvent"},{"value":"Paris","trait_type":"city"},{"value":"France","trait_type":"country"},{"value":"https://www.chanel.com","trait_type":"eventURL"}]}},"owner":{"$ref":"#/components/schemas/AddressParam"},"token":{"$ref":"#/components/schemas/TokenInfo"},"token_type":{"type":"string","example":"ERC-721"},"value":{"type":"string","example":"1"}}},"AddressNFTInstanceCollection":{"required":["token_type","value","is_unique","id","owner"],"properties":{"is_unique":{"type":"boolean"},"id":{"type":"string","example":"431"},"holder_address_hash":{"type":"string","example":"0x394c399dbA25B99Ab7708EdB505d755B3aa29997"},"image_url":{"type":"string","example":"example.com/picture.png"},"animation_url":{"type":"string","example":"example.com/video.mp4"},"external_app_url":{"type":"string","example":"d-app.com"},"metadata":{"type":"object","example":{"year":2023,"tags":["poap","event"],"name":"Social Listening Committee #2 Attendees","image_url":"https://assets.poap.xyz/chanel-poap-4c-2023-logo-1675083420470.png","home_url":"https://app.poap.xyz/token/6292128","external_url":"https://api.poap.tech/metadata/99010/6292128","description":"This is the POAP for attendees of the second Social Listening Committee.","attributes":[{"value":"01-Feb-2023","trait_type":"startDate"},{"value":"01-Feb-2023","trait_type":"endDate"},{"value":"false","trait_type":"virtualEvent"},{"value":"Paris","trait_type":"city"},{"value":"France","trait_type":"country"},{"value":"https://www.chanel.com","trait_type":"eventURL"}]}},"owner":{"$ref":"#/components/schemas/AddressParam"},"token":{"type":"object","example":null},"token_type":{"type":"string","example":"ERC-721"},"value":{"type":"string","example":"1"}}},"AddressNFTCollection":{"required":["token","token_instances"],"properties":{"token":{"$ref":"#/components/schemas/TokenInfo"},"amount":{"type":"string","example":"1"},"token_instances":{"type":"array","items":{"$ref":"#/components/schemas/AddressNFTInstanceCollection"}}}},"SmartContract":{"properties":{"verified_twin_address_hash":{"type":"string","example":"0x394c399dbA25B99Ab7708EdB505d755B3aa29997"},"is_verified":{"type":"boolean"},"is_changed_bytecode":{"type":"boolean"},"is_partially_verified":{"type":"boolean"},"is_fully_verified":{"type":"boolean"},"is_verified_via_sourcify":{"type":"boolean"},"is_verified_via_eth_bytecode_db":{"type":"boolean"},"is_self_destructed":{"type":"boolean"},"can_be_visualized_via_sol2uml":{"type":"boolean"},"minimal_proxy_address_hash":{"type":"string","example":"0x394c399dbA25B99Ab7708EdB505d755B3aa29997"},"sourcify_repo_url":{"type":"string","example":"https://sourcify.repo.com/100/link_to_a_contract_at_sourcify"},"name":{"type":"string","example":"Cryptostamp3L2"},"optimization_enabled":{"type":"boolean","example":false},"optimizations_runs":{"type":"integer","example":200},"compiler_version":{"type":"string","example":"v0.8.4+commit.c7e474f2"},"evm_version":{"type":"string","example":"default"},"verified_at":{"type":"string","example":"2021-06-02T17:54:17.116055Z"},"abi":{"type":"string","example":"[{\"type\":\"constructor\",\"stateMutability\":\"nonpayable\",\"inputs\":[{\"type\":\"address\",\"name\":\"_bridgeDataAddress\",\"internalType\":\"address\"},{\"type\":\"uint256\",\"name\":\"_finalSupply\",\"internalType\":\"uint256\"},{\"type\":\"uint256[5]\",\"name\":\"_totalColorSupply\",\"internalType\":\"uint256[5]\"}]}]"},"source_code":{"type":"string","example":"contract A {}"},"file_path":{"type":"string","example":"contract.sol"},"compiler_settings":{"type":"object","example":{"compilationTarget":{"@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol":"ERC1967Proxy"},"evmVersion":"london","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":[]}},"constructor_args":{"type":"string","example":"0x01"},"additional_sources":{"type":"array","items":{"$ref":"#/components/schemas/ContractSource"}},"decoded_constructor_args":{"type":"array","items":{"$ref":"#/components/schemas/ConstructorArguments"}},"deployed_bytecode":{"type":"string","example":"0x01"},"creation_bytecode":{"type":"string","example":"0x02"},"external_libraries":{"type":"array","items":{"$ref":"#/components/schemas/ExternalLibrary"}},"language":{"type":"string","example":"solidity | vyper | yul"},"status":{"type":"string","example":"selfdestructed | failed | success"}}},"ExternalLibrary":{"required":["name","address_hash"],"properties":{"name":{"type":"string","example":"MathLib"},"address_hash":{"type":"string","example":"0xF61f5c4a3664501F499A9289AaEe76a709CE536e"}}},"ContractSource":{"properties":{"file_path":{"type":"string","example":"contracts/erc-20.sol"},"source_code":{"type":"string","example":"pragma solidity ^0.8.0; \\n contract A {}"}}},"ConstructorArguments":{"type":"object","example":["0x2a3885b3f0c98f3e36334d4fa7beda53cb0ae095",{"internalType":"address","name":"_logic","type":"address"}]},"TokenInfo":{"type":"object","required":["address","circulating_market_cap","icon_url","symbol","name","decimals","type","holders","exchange_rate","total_supply"],"properties":{"circulating_market_cap":{"type":"string","example":"83606435600.3635"},"icon_url":{"type":"string","example":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png"},"name":{"type":"string","example":"Tether USD"},"decimals":{"type":"string","example":"6"},"symbol":{"type":"string","example":"USDT"},"address":{"type":"string","example":"0x394c399dbA25B99Ab7708EdB505d755B3aa29997"},"type":{"type":"string","example":"ERC-20"},"holders":{"type":"string","example":"837494234523"},"exchange_rate":{"type":"string","example":"0.99"},"total_supply":{"type":"string","example":"10000000"}}},"Argument":{"properties":{"name":{"type":"string"},"type":{"type":"string","example":"uint256"},"value":{"type":"string","example":"100000"}}},"SearchResultRedirect":{"required":["parameter","redirect","type"],"properties":{"parameter":{"type":"string","example":"0xEb533ee5687044E622C69c58B1B12329F56eD9ad"},"redirect":{"type":"boolean"},"type":{"type":"string","example":"address | block | transaction"}}},"SearchResultToken":{"required":["address","address_url","exchange_rate","icon_url","is_smart_contract_verified","name","symbol","token_type","token_url","total_supply","type"],"properties":{"address":{"type":"string","example":"0xdAC17F958D2ee523a2206206994597C13D831ec7"},"address_url":{"type":"string","example":"/address/0xdAC17F958D2ee523a2206206994597C13D831ec7"},"exchange_rate":{"type":"string","example":"0.999813"},"icon_url":{"type":"string","example":"https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png"},"is_smart_contract_verified":{"type":"boolean","example":true},"name":{"type":"string","example":"Tether USD"},"symbol":{"type":"string","example":"USDT"},"token_type":{"type":"string","example":"ERC-20"},"token_url":{"type":"string","example":"/token/0xdAC17F958D2ee523a2206206994597C13D831ec7"},"total_supply":{"type":"string","example":"39030615894320966"},"type":{"type":"string","example":"token"}}},"SearchResultAddressOrContract":{"required":["address","is_smart_contract_verified","name","type","url"],"properties":{"address":{"type":"string","example":"0xe2FBdeADC82c71C1b8bFf9CA4f9E7666224A362c"},"is_smart_contract_verified":{"type":"boolean","example":true},"name":{"type":"string","example":"Name"},"type":{"type":"string","example":"address|contract"},"url":{"type":"string","example":"/xdai/mainnet/address/0xc1c1031e4A44B98707203480029e6576CB3267e3"}}},"SearchResultBlock":{"required":["block_hash","block_number","timestamp","type","url"],"properties":{"block_hash":{"type":"string","example":"0xba83e9ba0b43e8d112a07fdab08d53f473d2b7fb0e585bd437ae739933db203e"},"block_number":{"type":"integer","example":24816691},"timestamp":{"type":"string","example":"2022-10-31T07:18:05.000000Z"},"type":{"type":"string","example":"block"},"url":{"type":"string","example":"/xdai/mainnet/block/0xba83e9ba0b43e8d112a07fdab08d53f473d2b7fb0e585bd437ae739933db203e"}}},"SearchResultTransaction":{"required":["timestamp","transaction_hash","type","url"],"properties":{"timestamp":{"type":"string","example":"2022-10-31T07:18:05.000000Z"},"transaction_hash":{"type":"string","example":"0xe38c6772f33edfbd218f59853befe18391cb786f911fb6c0b00ed6dd72ef6e69"},"type":{"type":"string","example":"transaction"},"url":{"type":"string","example":"/xdai/mainnet/tx/0xe38c6772f33edfbd218f59853befe18391cb786f911fb6c0b00ed6dd72ef6e69"}}},"IndexingStatus":{"required":["finished_indexing","finished_indexing_blocks","indexed_blocks_ratio","indexed_internal_transactions_ratio"],"properties":{"finished_indexing":{"type":"boolean"},"finished_indexing_blocks":{"type":"boolean"},"indexed_blocks_ratio":{"type":"string","example":"1.0"},"indexed_internal_transactions_ratio":{"type":"string","nullable":true,"example":"1.0"}}},"StatsResponse":{"required":["total_blocks","total_addresses","total_transactions","average_block_time","coin_price","total_gas_used","transactions_today","gas_used_today","gas_prices","static_gas_price","market_cap","network_utilization_percentage"],"properties":{"total_blocks":{"type":"string","example":"508700"},"total_addresses":{"type":"string","example":"982340"},"total_transactions":{"type":"string","example":"1699427"},"average_block_time":{"type":"number","example":25000},"coin_price":{"type":"string","example":"0.00254957"},"total_gas_used":{"type":"string","example":"0"},"transactions_today":{"type":"string","example":"622"},"gas_used_today":{"type":"string","example":"49063630"},"gas_prices":{"type":"object","example":{"average":10,"fast":10,"slow":10}},"static_gas_price":{"type":"string","example":"10.1"},"market_cap":{"type":"string","example":"420471.10604559750644"},"network_utilization_percentage":{"type":"number","example":40.2142}}},"MarketChartItem":{"required":["date","closing_price","market_cap"],"properties":{"date":{"type":"string","example":"2022-10-31"},"closing_price":{"type":"string","example":"0.00254915"},"market_cap":{"type":"string","example":"420471.10604559750644"}}},"TransactionChartItem":{"required":["date","transaction_count"],"properties":{"date":{"type":"string","example":"2022-10-31"},"transaction_count":{"type":"integer","example":622}}},"TokenCounters":{"required":["token_holders_count","transfers_count"],"properties":{"token_holders_count":{"type":"string","example":"100"},"transfers_count":{"type":"string","example":"1000"}}},"RecaptchaBody":{"required":["recaptcha_response"],"properties":{"recaptcha_response":{"type":"string","example":"123"}}},"ReadMethodQueryBody":{"required":["args","method_id"],"properties":{"args":{"type":"array","example":[1123,"0xBb36c792B9B45Aaf8b848A1392B0d6559202729E"]},"method_id":{"type":"string","example":"ab470f05"},"from":{"type":"string","example":"0xBb36c792B9B45Aaf8b848A1392B0d6559202729E"},"contract_type":{"type":"string","example":"proxy | regular"}}},"ReadMethodResponse":{"required":["result","is_error"],"properties":{"is_error":{"type":"boolean"},"result":{"oneOf":[{"$ref":"#/components/schemas/ExtendedRevertReasonAsMap"},{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/DecodedInput"},{"$ref":"#/components/schemas/CodeAndMessage"},{"$ref":"#/components/schemas/OutputAndNames"}]}}},"CodeAndMessage":{"required":["code","message"],"properties":{"code":{"type":"integer"},"message":{"type":"string","example":"Reverted"}}},"Error":{"required":["error"],"properties":{"error":{"type":"string","example":"Some error"}}},"OutputAndNames":{"required":["output","names"],"properties":{"output":{"type":"array","example":[{"type":"uint256","value":0}]},"names":{"type":"array","example":[null]}}},"StateChange":{"required":["address","is_miner","type"],"properties":{"token":{"$ref":"#/components/schemas/TokenInfo"},"type":{"type":"string","example":"coin | token"},"is_miner":{"type":"boolean"},"address":{"$ref":"#/components/schemas/AddressParam"},"balance_before":{"type":"string","example":"100000000"},"balance_after":{"type":"string","example":"100000000"},"token_id":{"type":"string","example":null},"change":{"oneOf":[{"$ref":"#/components/schemas/NFTChangesArray"},{"$ref":"#/components/schemas/ERC20Or1155OrCoinChange"}]}}},"ERC20Or1155OrCoinChange":{"type":"string","example":"-10000000"},"NFTChangesArray":{"type":"array","items":{"$ref":"#/components/schemas/NFTChange"}},"NFTChange":{"required":["direction","total"],"properties":{"direction":{"type":"string","example":"from | to"},"total":{"$ref":"#/components/schemas/TotalERC721"}}},"SmartContractForList":{"required":["address","coin_balance","compiler_version","has_constructor_args","language","optimization_enabled","verified_at"],"properties":{"address":{"$ref":"#/components/schemas/AddressParam"},"coin_balance":{"type":"string","example":"10000"},"compiler_version":{"type":"string","example":"v0.5.10+commit.5a6ea5b1"},"language":{"type":"string","example":"vyper | yul | solidity"},"has_constructor_args":{"type":"boolean"},"optimization_enabled":{"type":"boolean"},"transaction_count":{"type":"integer"},"verified_at":{"type":"string","example":"2022-03-05T11:40:29.087000Z"},"market_cap":{"type":"number","example":1000000000.0001}}},"Withdrawal":{"required":["index","amount","validator_index"],"properties":{"index":{"type":"integer","example":1},"amount":{"type":"string","example":"1000000000000000000"},"validator_index":{"type":"integer","example":1},"receiver":{"$ref":"#/components/schemas/AddressParam"},"block_number":{"type":"integer","example":1},"timestamp":{"type":"string","example":"2023-06-20T07:55:00.000000Z"}}},"TransactionAction":{"oneOf":[{"$ref":"#/components/schemas/TransactionActionAaveV3LiquidationCall"},{"$ref":"#/components/schemas/TransactionActionAaveV3BSWRF"},{"$ref":"#/components/schemas/TransactionActionAaveV3EnableDisableCollateral"},{"$ref":"#/components/schemas/TransactionActionUniswapV3MintNFT"},{"$ref":"#/components/schemas/TransactionActionUniswapV3BCS"}]},"TransactionActionAaveV3LiquidationCall":{"required":["data","protocol","type"],"properties":{"data":{"type":"object","example":{"debt_amount":"1.289548595490270429","debt_symbol":"AAVE","debt_address":"0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9","collateral_amount":"110.824768","collateral_symbol":"USDC","collateral_address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","block_number":1}},"protocol":{"type":"string","example":"aave_v3"},"type":{"type":"string","example":"liquidation_call"}}},"TransactionActionAaveV3BSWRF":{"required":["data","protocol","type"],"properties":{"data":{"type":"object","example":{"amount":"1.289548595490270429","symbol":"AAVE","address":"0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9","block_number":1}},"protocol":{"type":"string","example":"aave_v3"},"type":{"type":"string","example":"borrow | supply | withdraw | repay | flash_loan"}}},"TransactionActionAaveV3EnableDisableCollateral":{"required":["data","protocol","type"],"properties":{"data":{"type":"object","example":{"symbol":"AAVE","address":"0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9","block_number":1}},"protocol":{"type":"string","example":"aave_v3"},"type":{"type":"string","example":"enable_collateral | disable_collateral"}}},"TransactionActionUniswapV3MintNFT":{"required":["data","protocol","type"],"properties":{"data":{"type":"object","example":{"name":"Uniswap V3: Positions NFT","symbol":"UNI-V3-POS","address":"0x1F98431c8aD98523631AE4a59f267346ea31F984","to":"0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9","ids":["1","2"],"block_number":1}},"protocol":{"type":"string","example":"uniswap_v3"},"type":{"type":"string","example":"mint_nft"}}},"TransactionActionUniswapV3BCS":{"required":["data","protocol","type"],"properties":{"data":{"type":"object","example":{"address0":"0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9","address1":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","amount0":"1.289548595490270429","amount1":"110.824768","symbol0":"AAVE","symbol1":"USDC"}},"protocol":{"type":"string","example":"uniswap_v3"},"type":{"type":"string","example":"burn | collect | swap"}}},"v1IndexerStatus":{"properties":{"finished_past_indexing":{"type":"boolean"},"v06":{"$ref":"#/components/schemas/v1EntryPointIndexerStatus"},"v07":{"$ref":"#/components/schemas/v1EntryPointIndexerStatus"}}},"v1EntryPointIndexerStatus":{"properties":{"enabled":{"type":"boolean"},"live":{"type":"boolean"},"past_db_logs_indexing_finished":{"type":"boolean"},"past_rpc_logs_indexing_finished":{"type":"boolean"}}},"HealthCheckResponseServingStatus":{"type":"string","enum":["UNKNOWN","SERVING","NOT_SERVING","SERVICE_UNKNOWN"],"default":"UNKNOWN","description":" - SERVICE_UNKNOWN: Used only by the Watch method."},"protobufAny":{"type":"object","properties":{"@type":{"type":"string"}},"additionalProperties":{}},"rpcStatus":{"type":"object","properties":{"code":{"type":"integer","format":"int32"},"message":{"type":"string"},"details":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/protobufAny"}}}},"v1CelestiaBlob":{"type":"object","properties":{"height":{"type":"string","format":"uint64"},"namespace":{"type":"string"},"commitment":{"type":"string"},"timestamp":{"type":"string","format":"uint64"},"size":{"type":"string","format":"uint64"},"data":{"type":"string"}}},"v1CelestiaBlobId":{"type":"object","properties":{"height":{"type":"string","format":"uint64"},"namespace":{"type":"string"},"commitment":{"type":"string"}}},"v1CelestiaL2BatchMetadata":{"type":"object","properties":{"l2ChainId":{"type":"integer","format":"int64"},"l2BatchId":{"type":"string"},"l2StartBlock":{"type":"string","format":"uint64"},"l2EndBlock":{"type":"string","format":"uint64"},"l2BatchTxCount":{"type":"integer","format":"int64"},"l2BlockscoutUrl":{"type":"string"},"l1TxHash":{"type":"string"},"l1TxTimestamp":{"type":"string","format":"uint64"},"l1ChainId":{"type":"integer","format":"int64"},"relatedBlobs":{"type":"array","items":{"type":"object","$ref":"#/components/schemas/v1CelestiaBlobId"}}}},"v1HealthCheckResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/HealthCheckResponseServingStatus"}}}},"examples":{"TokenTransferLarge1155Batch":{"value":{"items":[{"block_hash":"0xf569ec751152b2f814001fc730f7797aa155e4bc3ba9cb6ba24bc2c8c9468c1a","from":{"hash":"0xcc4e74EB7F0D2F3e8c86Ac08A6B70689F564b226","implementation_name":null,"is_contract":false,"is_verified":false,"name":null,"private_tags":[],"public_tags":[],"watchlist_names":[]},"log_index":"243","method":null,"timestamp":null,"to":{"hash":"0xEf8801eaf234ff82801821FFe2d78D60a0237F97","implementation_name":null,"is_contract":false,"is_verified":false,"name":null,"private_tags":[],"public_tags":[],"watchlist_names":[]},"token":{"address":"0xdAC17F958D2ee523a2206206994597C13D831ec7","circulating_market_cap":"83606435600.3635","decimals":"6","exchange_rate":"0.999487","holders":"1149","icon_url":null,"name":"Tether USD","symbol":"USDT","total_supply":"39030615894320966","type":"ERC-20"},"total":{"decimals":"6","value":"830000000"},"transaction_hash":"0x6662ad1ad2ea899e9e27832dc202fd2ef915a5d2816c1142e6933cff93f7c592","type":"token_transfer"}],"next_page_params":{"batch_block_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","batch_log_index":0,"batch_transaction_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","index_in_batch":1}}},"TokenTransferSomeBatchesOnTheFirstPageAndOneOnTheSecond":{"value":{"items":[{"block_hash":"0xf569ec751152b2f814001fc730f7797aa155e4bc3ba9cb6ba24bc2c8c9468c1a","from":{"hash":"0xcc4e74EB7F0D2F3e8c86Ac08A6B70689F564b226","implementation_name":null,"is_contract":false,"is_verified":false,"name":null,"private_tags":[],"public_tags":[],"watchlist_names":[]},"log_index":"243","method":null,"timestamp":null,"to":{"hash":"0xEf8801eaf234ff82801821FFe2d78D60a0237F97","implementation_name":null,"is_contract":false,"is_verified":false,"name":null,"private_tags":[],"public_tags":[],"watchlist_names":[]},"token":{"address":"0xdAC17F958D2ee523a2206206994597C13D831ec7","circulating_market_cap":"83606435600.3635","decimals":"6","exchange_rate":"0.999487","holders":"1149","icon_url":null,"name":"Tether USD","symbol":"USDT","total_supply":"39030615894320966","type":"ERC-20"},"total":{"decimals":"6","value":"830000000"},"transaction_hash":"0x6662ad1ad2ea899e9e27832dc202fd2ef915a5d2816c1142e6933cff93f7c592","type":"token_transfer"}],"next_page_params":{"block_number":4,"index":2}}},"TokenTransferALotOfBatches":{"value":{"items":[{"block_hash":"0xf569ec751152b2f814001fc730f7797aa155e4bc3ba9cb6ba24bc2c8c9468c1a","from":{"hash":"0xcc4e74EB7F0D2F3e8c86Ac08A6B70689F564b226","implementation_name":null,"is_contract":false,"is_verified":false,"name":null,"private_tags":[],"public_tags":[],"watchlist_names":[]},"log_index":"243","method":null,"timestamp":null,"to":{"hash":"0xEf8801eaf234ff82801821FFe2d78D60a0237F97","implementation_name":null,"is_contract":false,"is_verified":false,"name":null,"private_tags":[],"public_tags":[],"watchlist_names":[]},"token":{"address":"0xdAC17F958D2ee523a2206206994597C13D831ec7","circulating_market_cap":"83606435600.3635","decimals":"6","exchange_rate":"0.999487","holders":"1149","icon_url":null,"name":"Tether USD","symbol":"USDT","total_supply":"39030615894320966","type":"ERC-20"},"total":{"decimals":"6","value":"830000000"},"transaction_hash":"0x6662ad1ad2ea899e9e27832dc202fd2ef915a5d2816c1142e6933cff93f7c592","type":"token_transfer"}],"next_page_params":{"batch_block_hash":"0x0000000000000000000000000000000000000000000000000000000000000014","batch_log_index":5,"batch_transaction_hash":"0x000000000000000000000000000000000000000000000000000000000000000a","block_number":14,"index":4,"index_in_batch":1}}}},"securitySchemes":{"clientId":{"type":"apiKey","in":"header","name":"x-client-id","description":"thirdweb client ID in headers"},"secretKey":{"type":"apiKey","in":"header","name":"x-secret-key","description":"thirdweb secret key in headers"},"dashboard":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"thirdweb JWT + Client ID"},"clientId-query":{"type":"apiKey","in":"query","name":"clientId","description":"thirdweb client ID in query params"}}},"tags":[{"name":"blockscout/search","description":"Blockscout search functionality"},{"name":"blockscout/transactions","description":"Blockscout transaction data"},{"name":"blockscout/blocks","description":"Blockscout block data"},{"name":"blockscout/tokens","description":"Blockscout token and transfer data"},{"name":"blockscout/stats","description":"Blockscout statistics and charts"},{"name":"blockscout/main-page","description":"Blockscout main page data"},{"name":"blockscout","description":"General Blockscout endpoints"},{"name":"insights/events","description":"ThirdWeb Insights event data"},{"name":"insights/transactions","description":"ThirdWeb Insights transaction analytics"},{"name":"insights/tokens","description":"ThirdWeb Insights token analytics"},{"name":"insights/nfts","description":"ThirdWeb Insights NFT analytics"},{"name":"insights/wallets","description":"ThirdWeb Insights wallet analytics"},{"name":"insights/contracts","description":"ThirdWeb Insights contract analytics"},{"name":"insights/resolve","description":"ThirdWeb Insights ENS resolution"},{"name":"insights/blocks","description":"ThirdWeb Insights block data"},{"name":"insights/decode","description":"ThirdWeb Insights transaction decoding"},{"name":"insights/general","description":"General ThirdWeb Insights endpoints"}],"x-proxy-info":{"supported-chains":[{"chainId":243,"name":"Reach Testnet","network":"reach-testnet","apiUrl":"https://reach-testnet.explorer.caldera.xyz/api/v2"},{"chainId":1993,"name":"B3 Testnet","network":"b3-testnet","apiUrl":"https://sepolia.explorer.b3.fun/api/v2"},{"chainId":4224,"name":"Arpachain","network":"arpachain","apiUrl":"https://arpachain.calderaexplorer.xyz/api/v2"},{"chainId":8333,"name":"B3 Mainnet","network":"b3","apiUrl":"https://blockscout.b3.fun/api/v2"},{"chainId":19934,"name":"B4 Testnet","network":"b4-testnet","apiUrl":"https://b4-testnet.explorer.caldera.xyz/api/v2"},{"chainId":10211403,"name":"GLHF Testnet","network":"glhf-testnet","apiUrl":"https://glhf-testnet.explorer.caldera.xyz/api/v2"}],"supported-services":[{"name":"blockscout","path":"/blockscout/*","description":"Blockchain explorer API with multi-chain fallback"},{"name":"thirdweb-insights","path":"/insights/*","description":"ThirdWeb Insights API for chain analytics"}],"default-chain":8333,"cache-duration":"24 hours","cache-strategy":"KV store","fallback-strategy":"Blockscout: Query default chain first, then all chains in parallel if no results. ThirdWeb: Direct chain query only."}}