/accounts/{accountId}/pool-asset-approvals REST API Endpoint
Path Parameters
accountId
string
REQUIRED
The SS58 address of the account.
Query Parameters
at
string
The 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 approved amount of the asset.
deposit
string
The deposit associated with the asset approval.
Request
1curl --location 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/{accountId}/pool-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