Skip to main content
POST
/
v1
/
wallets
/
{walletId}
/
rewards
/
deposit
/
network-fee
Deposit Network Fee
curl --request POST \
  --url https://api.blockradar.co/v1/wallets/{walletId}/rewards/deposit/network-fee \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "assetId": "WALLET_ASSET_ID",
  "amount": "AMOUNT_TO_DEPOSIT",
  "type": "defi",
  "addressId": "OPTIONAL_SUB_ADDRESS_ID"
}
'
{
  "message": "Network fee fetched successfully",
  "statusCode": 200,
  "data": {
    "networkFee": "0.00006779052",
    "networkFeeInUSD": "0.14371725",
    "nativeBalance": "0.000929309612767174",
    "nativeBalanceInUSD": "1.97015496",
    "estimatedArrivalTime": 30,
    "transactionFee": "0"
  }
}

Authorizations

x-api-key
string
header
required

Body

application/json
assetId
string
Example:

"WALLET_ASSET_ID"

amount
string
Example:

"AMOUNT_TO_DEPOSIT"

type
string
Example:

"defi"

addressId
string
Example:

"OPTIONAL_SUB_ADDRESS_ID"

Response

200 - application/json

OK

The response is of type object.