/accounts/{accountId}/asset-approvals REST API Endpoint
Path Parameters
accountId
string
REQUIRED
SS58 address of the account
Query Parameters
at
string
Block at which to query asset approval info for the specified account
assetId
string
REQUIRED
The `assetId` associated with the asset-approval
delegate
string
REQUIRED
The delegate's `accountId` associated with an asset-approval
Returns
at
object
The object containing information about the state:
hash
string
The hash of the block at the specified state
height
string
The height of the block at the specified state
amount
string
The total amount of the deposit.
deposit
string
The specific deposit amount associated with the account at the specified state
Request
1curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/{accountId}/asset-approvals?assetId={assetId}&delegate={delegate}' \2--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free