跳转到主要内容
GET
/
v1
/
ramp
/
config
/
network-fee
Estimate Network Fee
curl --request GET \
  --url https://api-sandbox.uqpaytech.com/api/v1/ramp/config/network-fee \
  --header 'x-auth-token: <api-key>'
{
  "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"
  },
  "fee_asset": "<string>",
  "estimated_time": 123,
  "network_status": "<string>",
  "update_time": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://developers-sandbox.uqpaytech.com/llms.txt

Use this file to discover all available pages before exploring further.

授权

x-auth-token
string
header
必填

The API token for login provided by UQPay.

请求头

x-on-behalf-of
string

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.

查询参数

asset
string
必填

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

network
string
必填

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

amount
string
必填

Withdrawal amount (for more accurate fee estimation)

响应

200 - application/json

Successfully retrieved network fee estimate

code
integer
必填
示例:

200

message
string
必填
示例:

"Success"

data
object
必填
fee_asset
string

Fee currency

estimated_time
integer

Estimated arrival time in minutes

network_status
string

Network status: NORMAL, MAINTENANCE

update_time
string

Last update time