Fee calculation
Calculates the fee and the recipient amount before creating a withdrawal.
POST/withdrawals/calculate
System information
- API key
- Required
- Rate limit
- ∞
A quote is valid for 5 minutes. Requesting a quote does not create a withdrawal or reserve the balance.
Body parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| coinCode | string | Yes | Cryptocurrency code, for example USDT. |
| networkCode | string | Yes | Blockchain network code, for example ethereum. |
| amount | string | Yes | Full amount debited from the balance, including the fee. |
| destinationAddress | string | Yes | Recipient address on the chosen network. |
Response fields
| Parameter | Type | Description |
|---|---|---|
| quoteId | string | Calculation ID. Pass it to POST /withdrawals. |
| coinCode | string | Cryptocurrency code. |
| networkCode | string | Blockchain network code. |
| address | string | Recipient address. |
| debitAmount | string | Amount debited from the balance. |
| recipientAmount | string | Amount the recipient receives. |
| networkFee | string | Network fee. |
| expiresAt | string | Calculation expiry date (ISO 8601). |