Assets
Given a specific account public key and asset ID, this call returns the account's asset holding and asset parameters (if either exist). Asset parameters will only be returned if the provided address is the asset's creator.
Authorizations
Path parameters
addressstringRequiredPattern:
An account public key
[A-Z0-9]{58}
asset-idintegerRequired
An asset identifier
Query parameters
formatstring · enumOptionalPossible values:
Configures whether the response object is JSON or MessagePack encoded. If not provided, defaults to JSON.
Responses
200
AccountAssetResponse describes the account's asset holding and asset parameters (if either exist) for a specific asset ID. Asset parameters will only be returned if the provided address is the asset's creator.
400
Malformed address or asset ID
401
Invalid API Token
500
Internal Error
default
Unknown Error
get
GET /v2/accounts/{address}/assets/{asset-id} HTTP/1.1
Host: algo.nownodes.io
X-Algo-API-Token: YOUR_API_KEY
Accept: */*
{
"asset-holding": {
"amount": 1,
"asset-id": 1,
"is-frozen": true
},
"created-asset": {
"clawback": "text",
"creator": "text",
"decimals": 1,
"default-frozen": true,
"freeze": "text",
"manager": "text",
"metadata-hash": "Ynl0ZXM=",
"name": "text",
"name-b64": "Ynl0ZXM=",
"reserve": "text",
"total": 1,
"unit-name": "text",
"unit-name-b64": "Ynl0ZXM=",
"url": "text",
"url-b64": "Ynl0ZXM="
},
"round": 1
}
Last updated