curl --request GET \
--url https://api.example.com/v1/pay/address/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>'{
"status": "SUCCESS",
"code": "000000",
"errorMessage": "",
"data": {
"currency": "BTC",
"chains": [
{
"chain": "BTC",
"currency": "BTC",
"full_curr_type": "BTC",
"symbol": "BTC",
"explorer_url": "",
"show_chain_name_en": "Bitcoin BRC20"
},
{
"chain": "HT",
"currency": "BTC",
"full_curr_type": "BTC_HT",
"symbol": "BTC_HT",
"explorer_url": ""
},
{
"chain": "BSC",
"currency": "BTC",
"full_curr_type": "BTC_BSC",
"symbol": "BTC_BSC",
"explorer_url": ""
}
]
}
}根据提供的币种,查询支持接受该币种的所有链
curl --request GET \
--url https://api.example.com/v1/pay/address/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>'{
"status": "SUCCESS",
"code": "000000",
"errorMessage": "",
"data": {
"currency": "BTC",
"chains": [
{
"chain": "BTC",
"currency": "BTC",
"full_curr_type": "BTC",
"symbol": "BTC",
"explorer_url": "",
"show_chain_name_en": "Bitcoin BRC20"
},
{
"chain": "HT",
"currency": "BTC",
"full_curr_type": "BTC_HT",
"symbol": "BTC_HT",
"explorer_url": ""
},
{
"chain": "BSC",
"currency": "BTC",
"full_curr_type": "BTC_BSC",
"symbol": "BTC_BSC",
"explorer_url": ""
}
]
}
}商户客户端ID
"4186d0c6-6a35-55a9-8dc6-5312769dbff8"
签名
"672d5650dcc9bb22ebf25fa16c28d03c0e159d742a9176d4340a5da326d75dc8"
时间戳(毫秒)
"1672905655498"
随机数
"9578"
拟下单的币种