v1

latestOpenAPI 3.0.02026-07-26117342409.6 KB
Fees

Create Crypto Withdrawal Fee

Get a guaranteed fee for the given currency, valid for a period of time. Specify exactly one of amount or total, otherwise an error is returned.

The Create Crypto Withdrawal request that uses the guaranteed fee endpoint must specify an amount less than or equal to the guaranteed fee amount, otherwise the withdrawal is rejected.

post/transfer/fees/crypto-withdrawal

Request body

assetstring required

The currency to withdraw.

destination_addressstring required

The destination address.

crypto_network'BITCOIN' | 'ETHEREUM' | 'BITCOIN_CASH' | 'LITECOIN' | 'SOLANA' | 'POLYGON_POS' | 'BASE' | 'ARBITRUM_ONE' | 'STELLAR' | 'INK' | 'XLAYER' | 'AVALANCHE' | 'DOGECOIN' | 'SUI' | 'ROBINHOOD' | 'BNB' required

A CryptoNetwork is a blockchain transmitting cryptocurrencies.

amountstring

The amount to withdraw. Must be greater than 0. Specify exactly one of amount or total, otherwise an error is returned.

totalstring

Total amount to withdraw, including fees. Must be greater than 0. Specify exactly one of total or amount, otherwise an error is returned.

Example request

{
  "asset": "ETH",
  "amount": "0.00005",
  "destination_address": "0xF0Aa84466e353E5390be37FE2934301c07c19a55",
  "crypto_network": "ETHEREUM"
}

Response

A successful response.

idstring required

The id of the guaranteed fee.

feestring required

The guaranteed fee value, in the same currency.

assetstring required

The currency to withdraw.

expires_atstring date-time required

The expiration timestamp of the created fee.

destination_addressstring required

The destination address.

crypto_network'BITCOIN' | 'ETHEREUM' | 'BITCOIN_CASH' | 'LITECOIN' | 'SOLANA' | 'POLYGON_POS' | 'BASE' | 'ARBITRUM_ONE' | 'STELLAR' | 'INK' | 'XLAYER' | 'AVALANCHE' | 'DOGECOIN' | 'SUI' | 'ROBINHOOD' | 'BNB' required

A CryptoNetwork is a blockchain transmitting cryptocurrencies.

amountstring

The quoted amount to withdraw for which the fee is valid. Specify exactly one of amount or total, otherwise an error is returned.

totalstring

Total amount to withdraw, including fees. Specify exactly one of amount or total, otherwise an error is returned.

Example response

{
  "id": "34bd61ed-cf0a-4012-8be4-d347667b6154",
  "fee": "0.00005",
  "asset": "ETH",
  "amount": "0.001",
  "expires_at": "2021-02-10T23:00:00Z",
  "destination_address": "0xF0Aa84466e353E5390be37FE2934301c07c19a55",
  "crypto_network": "ETHEREUM"
}