getWalletTokenHistory
Get all ERC20 tokens (with balances, including zero-value balances) the given wallet address has ever held (supports snapshotting at a specific block number)
Parameters
walletAddress
:(string)
REQUIRED - The address of the walletblockNumber
:(string)
OPTIONAL - Indicate the block heightpageSize
:(integer)
OPTIONAL - Number of records to be retrieved on one pagepageKey
:(string)
OPTIONAL - Key used to get the next page of results. Must be set to the value of nextPageKey returned in the previous response
Returns
walletAddress
:<string>
- The address of the walletcount
:<integer>
- The number of allowancesnextPageKey
:<string>
- Key used to get the next page of results. Must be set to the value of nextPageKey returned in the previous responsehistoricalBalances
:<array>
- The array of Token Balance objectscontractAddress
:<string>
- The token contract addresscontractDecimals
:<string>
- Token decimals specified in the contractcontractName
:<string>
- The name of the tokencontractSymbols
:<string>
- The name of the tokenbalance
:<string>
- Token balance on the specified walletfirstTransfer
:<string>
- Details of the transfer which updated the wallet balance for this token for the first timefromAddress
:<string>
- Address from which the transfer originatedtoAddress
:<array>
- Destination address for the transfervalue
:<string>
- Token amountblockHash
:<string>
- The hash of the blockblockNumber
:<integer>
- The block heightblockTimestamp
:<string>
- The timestamp of the blocktransactionHash
:<string>
- The hash of the transactiontransactionIndex
:<integer>
- The index of the transactionlogIndex
:<integer>
- The index of the log
lastTransfer
:<string>
- Details of the latest transfer which updated the wallet balance for this tokenfromAddress
:<string>
- Address from which the transfer originatedtoAddress
:<array>
- Destination address for the transfervalue
:<string>
- Token amountblockHash
:<string>
- The hash of the blockblockNumber
:<integer>
- The block heightblockTimestamp
:<string>
- The timestamp of the blocktransactionHash
:<string>
- The hash of the transactiontransactionIndex
:<integer>
- The index of the transactionlogIndex
:<integer>
- The index of the log
Example Request and Result for getWalletTokenHistory
Request
Result
Last updated