Don't miss Build Games$1M Builder Competition

avm.getTxFee

Get the transaction fees of the network.

POST
/ext/bc/X#avm.getTxFee

Request Body

application/json

JSON-RPC request

jsonrpc*string
method*string
params*object
id*integer

Response Body

application/json

application/json

curl -X POST "https://api.avax.network/ext/bc/X#avm.getTxFee" \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "method": "avm.getTxFee",    "params": {},    "id": 1  }'
{
  "jsonrpc": "2.0",
  "result": {
    "txFee": "1000000",
    "createAssetTxFee": "10000000"
  },
  "id": 1
}
{
  "jsonrpc": "2.0",
  "error": {
    "code": 0,
    "message": "string",
    "data": null
  },
  "id": 1
}

Is this guide helpful?