GetAssetByID - Algorand

Given an asset ID, returns asset information including creator, name, total supply, and special addresses.

Endpoint

httpGET /v2/assets/{asset-id}

Path Parameters

ParameterTypeRequiredDescription
asset-idintegerYesAn asset identifier.

Example

bashexport ALGO_ALGOD=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${ALGO_ALGOD}v2/assets/REPLACE_ASSET-ID"

Response

Returns application/json. Top-level fields:

FieldTypeDescription
indexintegerunique asset identifier
paramsobjectAssetParams specifies the parameters for an asset.

Error Handling

ErrorMessageDescription
400Bad requestA parameter was missing or malformed
404Not foundThe requested resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect