curl --request POST \
--url https://api.blockradar.co/v1/gateway/deposit/{walletId}/network-fee \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"amount": "10"
}'{
"data": {
"estimatedArrivalTime": 10,
"nativeBalance": "0.498753988998669532",
"nativeBalanceInUSD": "0.4987041135997696650468",
"networkFee": "0.000000000000299004",
"networkFeeInUSD": "0.0000000000002989740996",
"transactionFee": 0
},
"message": "Deposit network fee fetched successfully",
"statusCode": 200
}This endpoint allows you to get the network fee for a gateway deposit.
| Key | Required | Type | Description |
|---|---|---|---|
| amount | true | string | The amount to be deposited. |
| 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/deposit/{walletId}/network-fee \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"amount": "10"
}'{
"data": {
"estimatedArrivalTime": 10,
"nativeBalance": "0.498753988998669532",
"nativeBalanceInUSD": "0.4987041135997696650468",
"networkFee": "0.000000000000299004",
"networkFeeInUSD": "0.0000000000002989740996",
"transactionFee": 0
},
"message": "Deposit network fee fetched successfully",
"statusCode": 200
}"79c7a18a-07be-4c1f-a046-94bf4964f392"
"10"