Skip to main content

Estimate Withdrawal Fee

POST
/withdrawal/fee-estimate/

Calculates the estimated fee for a cryptocurrency withdrawal. Use this endpoint to get an approximation of the fee before initiating the actual withdrawal.

Authentication

Requires OAuth 2.0 authentication with read and write scopes.

Request Body

ParameterTypeRequiredDescription
amountdecimalYesAmount of cryptocurrency to withdraw
currencystringConditionalCombined currency code (e.g., "USDTERC20"). Either currency or blockchain + token
blockchainstringConditionalBlockchain network (e.g., "ETH", "TRX"). Use with token instead of currency
tokenstringConditionalToken symbol (e.g., "USDT"). Use with blockchain instead of currency
addressstringNoDestination address. Improves fee accuracy (e.g., new TRC20 addresses have higher fees)

Example Request

curl -X POST {{BASE_URL}}/withdrawal/fee-estimate/ \
-H "Authorization: Bearer your_access_token" \
-H "Content-Type: application/json" \
-d '{
"amount": 100.50,
"blockchain": "ETH",
"token": "USDT"
}'

Using currency field

curl -X POST {{BASE_URL}}/withdrawal/fee-estimate/ \
-H "Authorization: Bearer your_access_token" \
-H "Content-Type: application/json" \
-d '{
"amount": 100.50,
"currency": "USDTERC20"
}'

Response

Success Response (200 OK)

{
"fee": "1.50",
"token": "USDT",
"currency": "USDTERC20",
"blockchain": "ETH",
"chain": "ETH",
"is_new_address": false,
"address_activation_fee": "0.00"
}

Response Fields

FieldTypeDescription
feedecimalEstimated total fee amount
tokenstringToken symbol
currencystringCombined currency code
blockchainstringBlockchain network
chainstringChain identifier
is_new_addressbooleanWhether the destination address has not been used before (higher fee for activation)
address_activation_feedecimalAdditional fee for activating a new address (included in fee)

Error Responses

400 Bad Request - Invalid Currency

{
"error": {
"code": "invalid_currency",
"message": "The currency created from the blockchain/token combination is not supported",
"details": {}
}
}

Notes

  • Fees are calculated based on current network conditions and may vary when the actual withdrawal is processed
  • The fee includes both the platform service fee and the blockchain network fee
  • For some blockchains, fees may be higher during periods of network congestion
  • Providing an address improves accuracy, especially for TRC20 where new addresses incur activation fees
  • Either currency or blockchain + token must be provided