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
- 200
- 500
- default
A successful response.
application/json
Schema
Example (from schema)
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]
{
  "asset": {
    "details": {
      "builtinAsset": {
        "maxFaucetAmountMint": "string"
      },
      "decimals": "string",
      "erc20": {
        "contractAddress": "string",
        "lifetimeLimit": "string",
        "withdrawThreshold": "string"
      },
      "name": "string",
      "quantum": "string",
      "symbol": "string"
    },
    "id": "string",
    "status": "STATUS_UNSPECIFIED"
  }
}
An internal server error
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
@type string
message string
{
  "code": 0,
  "details": [
    {
      "@type": "string"
    }
  ],
  "message": "string"
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
code int32
details object[]
@type string
message string
{
  "code": 0,
  "details": [
    {
      "@type": "string"
    }
  ],
  "message": "string"
}
Loading...