curl --request GET \
--url https://openplatform.gateapi.io/v1/pay/wallet/currency_chains \
--header 'X-GatePay-Certificate-ClientId: <x-gatepay-certificate-clientid>' \
--header 'X-GatePay-Nonce: <x-gatepay-nonce>' \
--header 'X-GatePay-Signature: <x-gatepay-signature>' \
--header 'X-GatePay-Timestamp: <x-gatepay-timestamp>'[
{
"chain": "ETH",
"name_cn": "以太坊ERC20",
"name_en": "ETH/ERC20",
"contract_address": "",
"is_disabled": 0,
"is_deposit_disabled": 0,
"is_withdraw_disabled": 0,
"decimal": "6"
}
]Query supported blockchain networks and related configuration for a specific currency.
curl --request GET \
--url https://openplatform.gateapi.io/v1/pay/wallet/currency_chains \
--header 'X-GatePay-Certificate-ClientId: <x-gatepay-certificate-clientid>' \
--header 'X-GatePay-Nonce: <x-gatepay-nonce>' \
--header 'X-GatePay-Signature: <x-gatepay-signature>' \
--header 'X-GatePay-Timestamp: <x-gatepay-timestamp>'[
{
"chain": "ETH",
"name_cn": "以太坊ERC20",
"name_en": "ETH/ERC20",
"contract_address": "",
"is_disabled": 0,
"is_deposit_disabled": 0,
"is_withdraw_disabled": 0,
"decimal": "6"
}
]The clientId assigned when the merchant registers an application in the Gate merchant console.
"4186d0c6-6a35-55a9-8dc6-5312769dbff8"
Request signature. GatePay uses this signature to verify whether the request is valid.
UTC timestamp in milliseconds when the request is generated. GatePay will not process requests where the difference from the receive time exceeds 10 seconds.
"1672905655498"
Random string. Must comply with HTTP header rules; recommended length is within 32 characters, composed of digits and letters.
"9578"
Currency symbol to query, e.g. USDT, BTC.
List of supported chains
Blockchain network name (e.g. ERC20, TRC20, BEP20).
Chinese name of blockchain (e.g. 以太坊 for Ethereum).
English name of blockchain (e.g. Ethereum, Tron).
Smart contract address (empty string for native coins like BTC, ETH).
Global disable status: 0 - enabled, 1 - disabled.
Deposit function status: 0 - enabled, 1 - disabled.
Withdrawal function status: 0 - enabled, 1 - disabled.
Withdrawal precision (decimal places, e.g. "6" for BTC).