Get Withdrawal Fee (estimated)
GET
/open-api/v1/wallet/withdrawal/feeThis method allows you to get the estimated withdrawal fee by providing walletId, coinSymbol, network and withdrawal amount.
API Key permission group : Enable Enquiry
Request
Query Params
walletId
integer
required
Wallet id
Example:
1325589336357780500
coinSymbol
string
required
Coin symbol (in capital letters)
Example:
ETH
network
string
required
Network symbol (in capital letters)
Example:
ETH
amount
string
optional
Withdrawal amount
Example:
10.2
timestamp
integer
required
Current timestamp in millisecond
Example:
1640995200000
toWalletIdStr
string
optional
Header Params
open-apikey
string
required
OpenAPI key string
signature
string
required
Signature of the request
Request samples
Responses
The operation succeeded(200)
Business error(200)
The client request is invalid(400)
Authentication failed (e.g., invalid token specified by the Authorization header)(401)
Authentication failed, but the operation is not allowed(403)
Requested resource does not exist(404)
Client request rate exceeded the limit(429)
System error(500)
The operation succeeded
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
optional
response data, maybe null
Any of
feeAmount
string
required
feeSymbol
string
required
slowFeeAmount
string | null
optional
slow fee, only for ETH
fastFeeAmount
string | null
optional
fast fee, only for ETH
avlFeeAmount
string | null
optional
normal fee, only for ETH
code
string
required
'000000' indicates success, while any others indicate failure.
message
string
required
When the code is '000000' (success), it represents the details of the response. Otherwise, it represents the details of the error.
Example
{
"data": {
"feeAmount": "0.00037852",
"feeSymbol": "ETH",
"slowFeeAmount": "0.00047302",
"fastFeeAmount": "0.00189079",
"avlFeeAmount": "0.00113465"
},
"code": "000000",
"message": "Success"
}
Last modified: 7 months ago