Skip to main content

/api/v1/accounts/{idOrAliasOrEvmAddress}/allowances/tokens REST API Endpoint

Get fungible token allowances for an account

Updated on
Aug 23, 2024

/api/v1/accounts/{idOrAliasOrEvmAddress}/allowances/tokens REST API Endpoint

Please note that this method is currently available only on the testnet and will be accessible on the mainnet soon.

Path Parameters

idOrAliasOrEvmAddress
string
REQUIRED
The account alias or account id or evm address

Query Parameters

limit
integer
The maximum number of items to return
order
string
The order in which items are listed (asc or desc)
spender.id
string
The ID of the spender to return information for
token.id
string
The ID of the token to return information for

Returns

allowances
array
An array of objects, each representing a cryptocurrency allowance
amount
integer
The current amount of cryptocurrency allowance available
amount_granted
integer
The total amount of cryptocurrency allowance initially granted
owner
string
The account ID of the owner who granted the allowance
spender
string
The account ID of the spender who has been granted the allowance
timestamp
object
An object indicating the timeframe for which the allowance is valid
from
string
The starting timestamp of the allowance validity period
to
string
The ending timestamp of the allowance validity period
token_id
string
The unique identifier of the token
links
object
An object containing pagination links
next
string
A URL to fetch the next set of transactions, if available
Request
1
curl 'https://docs-demo.hedera-mainnet.quiknode.pro/api/v1/accounts/0.0.6294/allowances/tokens'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free