POST
/
v1
/
wallets
/
{walletId}
/
contracts
/
network-fee
curl --request POST \
  --url https://api.blockradar.co/v1/wallets/{walletId}/contracts/network-fee \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "abi": [
    {
      "constant": false,
      "inputs": [
        {
          "name": "_to",
          "type": "address"
        },
        {
          "name": "_value",
          "type": "uint256"
        }
      ],
      "name": "transfer",
      "outputs": [],
      "payable": false,
      "stateMutability": "nonpayable",
      "type": "function"
    }
  ],
  "address": "TXLAQ63Xg1NAzckPwKHvzw7CSEmLMEqcdj",
  "method": "transfer",
  "parameters": [
    "TRnm5TmNN8M9uvVuqs3Xx9F1A3a87gZAaP",
    "10000"
  ]
}'
{
  "data": {
    "balance": "1.012299726305777896",
    "fee": "0.00422709309982132"
  },
  "message": "Network fee retrieved successfully",
  "statusCode": 200
}

Authorizations

x-api-key
string
header
required

Path Parameters

walletId
string
required
Example:

"YOUR_WALLET_ID"

Body

application/json

Response

200 - application/json

Ethereum / Tron

The response is of type object.