POST
/
wallets
/
{walletId}
/
addresses
/
{addressId}
/
contracts
/
network-fee
curl --request POST \
  --url https://api.blockradar.co/wallets/{walletId}/addresses/{addressId}/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"

addressId
string
required
Example:

"ADDRESS_ID"

Body

application/json
abi
object[]
Example:
[
  {
    "constant": false,
    "inputs": [
      { "name": "_to", "type": "address" },
      { "name": "_value", "type": "uint256" }
    ],
    "name": "transfer",
    "outputs": [],
    "payable": false,
    "stateMutability": "nonpayable",
    "type": "function"
  }
]
address
string
Example:

"TXLAQ63Xg1NAzckPwKHvzw7CSEmLMEqcdj"

method
string
Example:

"transfer"

parameters
string[]
Example:
[
  "TRnm5TmNN8M9uvVuqs3Xx9F1A3a87gZAaP",
  "10000"
]

Response

200 - application/json
Ethereum / Tron
data
object
message
string
Example:

"Network fee retrieved successfully"

statusCode
number
Example:

200