avm.getTxFee
Get the transaction fees of the network.
JSON-RPC request
jsonrpcstring
methodstring
paramsobject
idinteger
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?