Skip to content

Get Currency Supported by Chain

This method retrieves all currencies supported by a chain.

shell
GET: {{endpoint}}/v1/currency/chainSupported

Response Parameters

The final response in the stream also includes additional data about the generation:

  • data: (Array) the currency supported by the chain
    • chain_id: the id of the chain
    • currency_id: the id of the currency
    • prefix: the prefix of the currency
    • chain_name: the name of the chain
    • currency_name: the name of the currency
    • chain: the chain object
      • id: the id of the chain
      • name: the name of the chain
      • chain: the chain of the chain
      • native_asset: the native asset of the chain
      • standard_token: the standard token of the chain
      • metadata: the metadata of the chain
      • created_at: the created at date of the chain
    • currency: the currency object
      • id: the id of the currency
      • coingecko_id: the coingecko id of the currency
      • custody_type: the custody type of the currency
      • type: the type of the currency
      • category: the category of the currency
      • name: the name of the currency
      • symbol: the symbol of the currency
      • decimals: the decimals of the currency
      • created_at: the created at date of the currency
    • gas_min: the minimum gas of the currency
    • gas_airdrop: the gas for airdrop of the currency
    • gas_convert: the gas for convert of the currency
    • deposit_enable: the deposit enable of the currency
    • withdraw_enable: the withdraw enable of the currency
    • withdraw_min: the minimum withdraw of the currency
    • withdraw_max: the maximum withdraw of the currency
    • withdraw_fee: the withdraw fee of the currency
    • block_required: the block required of the currency
    • metadata: the metadata of the currency
    • created_at: the created at date of the currency
Example Response
json
{
  "data": [
    {
      "chain_id": "d28f040c-521e-42bb-a2fc-adc68bdafc3f",
      "currency_id": "f2b48194-e3dd-4a6c-9748-1bbe0f4302f2",
      "gas_min": 0,
      "gas_airdrop": 1,
      "gas_convert": 1000000,
      "deposit_enable": true,
      "withdraw_enable": true,
      "withdraw_min": 0,
      "withdraw_max": 0,
      "withdraw_fee": 0,
      "block_required": 6,
      "metadata": null,
      "created_at": "2024-10-14T07:02:35.586Z",
      "chain": {
        "id": "d28f040c-521e-42bb-a2fc-adc68bdafc3f",
        "name": "Tron",
        "chain": "tron",
        "native_asset": "TRX",
        "standard_token": "TRC20",
        "metadata": {
          "chain_id": 195
        },
        "created_at": "2024-10-14T07:02:35.586Z"
      },
      "currency": {
        "id": "f2b48194-e3dd-4a6c-9748-1bbe0f4302f2",
        "coingecko_id": "USDT",
        "custody_type": "SELF",
        "type": "CRYPTO",
        "category": "STABLECOIN",
        "name": "USD Tether",
        "symbol": "USDT",
        "decimals": 6,
        "created_at": "2024-10-14T07:02:35.586Z"
      },
      "prefix": "USDT_TRON",
      "chain_name": "tron",
      "currency_name": "USDT"
    },
    { ... }
  ]
}
json
{
  "error": "Error message"
}
json
{
  "error": "Forbidden"
}