v1

latestOpenAPI 3.0.22026-07-26123510445.2 KB
Configuration

Estimate Network Fee

Get estimated network fee for withdrawal. Network fees are dynamic and adjust based on blockchain network congestion. It is recommended to call this endpoint before user initiates withdrawal to display estimated fees. Actual withdrawal fees may slightly differ from estimates. If network status is MAINTENANCE, withdrawals are temporarily unavailable. Stablecoin Account API Publisher Disclaimer

get/v1/ramp/config/network-fee

Query parameters

assetstring required

Asset code (e.g., USDT, USDC)

networkstring required

Network code (e.g., ETH, TRX, BSC)

amountstring required

Withdrawal amount (for more accurate fee estimation)

Headers

x-on-behalf-ofstring

Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts API. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.

Response

Successfully retrieved network fee estimate

codeinteger required
messagestring required
fee_assetstring

Fee currency

estimated_timeinteger

Estimated arrival time in minutes

network_statusstring

Network status: NORMAL, MAINTENANCE

update_timestring

Last update time

Example response

{
  "code": 200,
  "message": "Success",
  "data": {
    "asset": "USDT",
    "network": "ETH",
    "network_fee": "5.00",
    "processing_fee": "0.00",
    "total_fee": "5.00",
    "fee_asset": "USDT",
    "estimated_time": 15,
    "network_status": "NORMAL",
    "update_time": "2024-07-18T14:19:52+08:00"
  }
}