Fetch the transaction history for any wallet address
Fetches the transaction / token history for any wallet address of any ERC20, ERC721 and ERC1155 token. The response includes decoded transaction details for easy consumption / rendering. Sequence IndexerGetTransactionHistory
Method:
- Request: POST /rpc/Indexer/GetTransactionHistory
- Content-Type: application/json
- Body (in JSON):
filter
(object)accountAddress
(string) — the wallet account addresscontractAddress
(string) — optionally specify a contract address to filteraccountAddresses
(string array) — optionally specify a list of wallet account addressescontractAddresses
(string array) — optionally specify a list of contract addresstransactionHashes
(string array) — optionally specify a list of transaction hashesmetaTransactionIDs
(string array) — optionally specify a list of meta transaction IDs
includeMetadata
(boolean - optional - default: false) — toggle token metadata to be included in the responsemetadataOptions
(object - optional) — additional options for metadataverifiedOnly
(boolean - optional) — return only contracts which are ‘verified’ to help reduce spamincludeContracts
([]string - optional) — list of specific contract addresses to always be included, even if verifiedOnly is enabled.
Wallet transaction history retention with the Indexer is 30 days for all networks (with the exception of
arbitrum-sepolia
which is 20 days).GetTransactionHistory
of a wallet account address on Polygon using an API_ACCESS_KEY
Fetch / listen to the transaction history for any ERC20, ERC721, ERC1155 contract
This query is helpful to track transaction history of a particular token contract. In this example, we use the Skyweaver token contract address 0x631998e91476DA5B870D741192fc5Cbc55F5a52E on the Polygon network. You may query any contract address on any of the supported networks (but make sure to query the indexer of the corresponding network). Sequence IndexerGetTransactionHistory
Method:
- Request: POST /rpc/Indexer/GetTransactionHistory
- Content-Type: application/json
- Body (in JSON):
filter
(object)contractAddress
(string) — a ERC20 / ERC721 / ERC1155 contract address
Token contract transaction history retention with the Indexer is 30 days for all networks (with the exception of
arbitrum-sepolia
which is 20 days).GetTransactionHistory
of Skyweaver contract on Polygon using an API_ACCESS_KEY