Asset info
Returns information associated with an asset which includes the assets AssetDetails
and AssetMetadata
.
Path parameters
assetIdstring · unsignedIntegerRequired
The unsignedInteger Id of an asset.
Query parameters
atstring · unsignedInteger or $hexOptional
Block identifier, as the block height or block hash.
Responses
200
successful operation
application/json
get
GET /pallets/assets/{assetId}/asset-info HTTP/1.1
Host: dot-playbook.nownodes.io
Accept: */*
200
successful operation
{
"at": {
"hash": "text",
"height": "text"
},
"assetInfo": {
"owner": "text",
"issuer": "text",
"admin": "text",
"freezer": "text",
"supply": "text",
"deposit": "text",
"minBalance": "text",
"isSufficient": true,
"accounts": "text",
"sufficients": "text",
"approvals": "text",
"status": "text"
},
"assetMetadata": {
"deposit": "text",
"name": "text",
"symbol": "text",
"decimals": "text",
"isFrozen": true
}
}