Skip to main content
Version: mainnet (v0.71)

Get asset

Get a single asset using its ID. Use the assets list query to get an asset's ID

Path Parameters
    assetId string required

    Asset ID to get data for.

Responses

A successful response.


Schema
    asset object

    Asset information that is returned.

    details object

    Definition of the external source for this asset.

    builtinAsset object

    Vega built-in asset.

    maxFaucetAmountMint string
    decimals uint64
    erc20 object

    Ethereum ERC20 asset.

    contractAddress string
    lifetimeLimit string
    withdrawThreshold string
    name string
    quantum string
    symbol string
    id string
    status - STATUS_UNSPECIFIED: Default value, always invalid - STATUS_PROPOSED: Asset is proposed and under vote - STATUS_REJECTED: Asset has been rejected from governance - STATUS_PENDING_LISTING: Asset is pending listing from the bridge - STATUS_ENABLED: Asset is fully usable in the network

    Possible values: [STATUS_UNSPECIFIED, STATUS_PROPOSED, STATUS_REJECTED, STATUS_PENDING_LISTING, STATUS_ENABLED]

GET /api/v2/asset/:assetId

Request

Base URL
https://vega-mainnet-data.commodum.io
assetId — path required
curl / cURL
curl -L -X GET 'https://vega-mainnet-data.commodum.io/api/v2/asset/:assetId' \
-H 'Accept: application/json'