You can get the approximate fee for withdrawing crypto.
GET https://my.cryptopayments.pro/api/v2/approximate-fee
GET
https://my.cryptopayments.pro/api/v2/approximate-fee
{ amount: 0.01, amountMinusFee: 0.00919486, networkFee: 0.00080514, currency: "BTC" }
{ statusCode: 400, message: "Unsupported currency: BTC2" }
curl https://my.cryptopayments.pro/api/v2/approximate-fee?currency=BTC\&amount=0.01\&address=185wFcTa9z3MJShmYEZRRpkAGxvNxi9nK8
Last updated 2 years ago
address
string
To address
amount
currency
BTC | ETH