v1

latestOpenAPI 3.1.02026-07-1288262495.0 KB
Primary Network

Get asset details

Gets asset details corresponding to the given asset id on the X-Chain.

get/v1/networks/{network}/blockchains/{blockchainId}/assets/{assetId}

Path parameters

blockchainId'2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM' | '2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm' | 'x-chain' required

A primary network blockchain id or alias.

network'mainnet' | 'fuji' | 'testnet' required

Either mainnet or testnet/fuji.

assetIdstring required

Asset ID for any asset on X-Chain

Response

Successful response

assetIdstring required

Unique ID for an asset.

namestring required

Name of this asset.

symbolstring required

Symbol for this asset (max 4 characters).

denominationnumber required

Denomination of this asset to represent fungibility.

type'secp256k1' | 'nft' required

Type of asset like SECP256K1 or NFT.

createdAtTimestampnumber required

Timestamp in seconds this asset was created on.

cap'fixed' | 'variable' required

Cap represents if an asset is a variable or fixed cap asset.

Example response

{
  "assetId": "th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof",
  "name": "Avalanche",
  "symbol": "AVAX",
  "denomination": 9,
  "createdAtTimestamp": 1675444720
}