Wallet transaction history
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 Indexer GetTransactionHistory 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.
Example:
GetTransactionHistory of a wallet account address on Polygon using an API_ACCESS_KEY
cURL
curl -X POST -H "Content-Type: application/json" -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" https://polygon-indexer.sequence.app/rpc/Indexer/GetTransactionHistory -d '{ "filter": { "accountAddress": "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9" }, "includeMetadata": true }'
projectAccessKey