getTokenApprovals
Get ERC20 approvals for a given token contract address
Parameters
contractAddress
:(string)
REQUIRED - The token contract addressfromBlock
:(string)
OPTIONAL - The block number from which the approvals will be returnedtoBlock
: (string)
OPTIONAL - The block number up to which the approvals will be returnedownerAddress
:(string)
OPTIONAL - The address of the approverspenderAddress
:(string)
OPTIONAL - The address of the spenderpageSize
:(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
contractAddress
:<string>
- The token contract addresscontractDecimals
:<string>
- Token decimals specified in the contractcontractName
:<string>
- The name of the tokencontractSymbols
:<string>
- The name of the tokencount
:<integer>
- The number of token approvalsnextPageKey
:<string>
- Key to get the next page of results, if more results are availabletokenApprovals
:<array>
- The array containing all token approvalsownerAddress
:<string>
- The wallet address of the approverspenderAddress
:<string>
- The address of the spendervalue
:<string>
- The amount of tokens approvedblockHash
:<string>
- The hash of the block in which the transfer transaction was executedblockNumber
:<integer>
- The height of the block in which the transfer transaction was executedblockTimestamp
:<string>
- The timestamp of the block in which the transfer transaction was executedtransactionHash
:<string>
- The hash of the token transfer transactiontransactionIndex
:<integer>
- The number of the token transfer transactionlogIndex
:<integer>
- The index of the transaction log
Example Request and Result for getTokenApprovals
Request
Result
Last updated