Get Currency Supported by Chain
This method retrieves all currencies supported by a chain.
shell
GET: {{endpoint}}/v1/currency/chainSupportedResponse Parameters
The final response in the stream also includes additional data about the generation:
data: (Array) the currency supported by the chainchain_id: the id of the chaincurrency_id: the id of the currencyprefix: the prefix of the currencychain_name: the name of the chaincurrency_name: the name of the currencychain: the chain objectid: the id of the chainname: the name of the chainchain: the chain of the chainnative_asset: the native asset of the chainstandard_token: the standard token of the chainmetadata: the metadata of the chaincreated_at: the created at date of the chain
currency: the currency objectid: the id of the currencycoingecko_id: the coingecko id of the currencycustody_type: the custody type of the currencytype: the type of the currencycategory: the category of the currencyname: the name of the currencysymbol: the symbol of the currencydecimals: the decimals of the currencycreated_at: the created at date of the currency
gas_min: the minimum gas of the currencygas_airdrop: the gas for airdrop of the currencygas_convert: the gas for convert of the currencydeposit_enable: the deposit enable of the currencywithdraw_enable: the withdraw enable of the currencywithdraw_min: the minimum withdraw of the currencywithdraw_max: the maximum withdraw of the currencywithdraw_fee: the withdraw fee of the currencyblock_required: the block required of the currencymetadata: the metadata of the currencycreated_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"
}