curl --request POST \
--url https://api.blockradar.co/v1/gateway/withdraw/network-fee \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"amount": "10"
}'{
"data": {
"estimatedArrivalTime": 10,
"nativeBalance": "0.044395941712804974",
"nativeBalanceInUSD": "0.0443915021186336935026",
"networkFee": "0.00000013083861216",
"networkFeeInUSD": "0.000000130825528298784",
"transactionFee": 2.005999
},
"message": "Withdraw network fees calculated successfully",
"statusCode": 200
}This endpoint allows you get network fee for a gateway withdrawal.
| Key | Required | Type | Description |
|---|---|---|---|
| amount | true | string | The amount to be deposited. |
| address | true | string | The receipient address. |
| blockchain | true | string | The blockchain network. |
| reference | false | string | This would be the transaction reference |
| metadata | false | object | This would be atteched to the transaction payload |
curl --request POST \
--url https://api.blockradar.co/v1/gateway/withdraw/network-fee \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"amount": "10"
}'{
"data": {
"estimatedArrivalTime": 10,
"nativeBalance": "0.044395941712804974",
"nativeBalanceInUSD": "0.0443915021186336935026",
"networkFee": "0.00000013083861216",
"networkFeeInUSD": "0.000000130825528298784",
"transactionFee": 2.005999
},
"message": "Withdraw network fees calculated successfully",
"statusCode": 200
}