Returns information associated with an asset which includes the assets AssetDetails and AssetMetadata.
AssetDetails
AssetMetadata
The unsignedInteger Id of an asset.
successful operation
Block number and hash at which the call was made.
const response = await fetch('https://dot-playbook.nownodes.io/pallets/assets/{assetId}/asset-info', { method: 'GET', headers: {}, }); const data = await response.json();
{ "at": { "hash": "text", "height": "text" }, "assetInfo": { "owner": "text", "issuer": "text", "admin": "text", "freezer": "text", "supply": "text", "deposit": "text", "minBalance": "text", "isSufficient": false, "accounts": "text", "sufficients": "text", "approvals": "text", "status": "text" }, "assetMetadata": { "deposit": "text", "name": "text", "symbol": "text", "decimals": "text", "isFrozen": false } }