Skip to main content

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

Get crypto allowances for an account info

Updated on
Dec 18, 2024

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

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

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
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-testnet.quiknode.pro/api/v1/accounts/0.0.6294/allowances/crypto'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free