cURL
curl --request POST \ --url 'https://api.avax.network/ext/bc/P#platform.getFeeConfig' \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "method": "platform.getFeeConfig", "params": {}, "id": 1 }'
{ "jsonrpc": "2.0", "result": { "maxGas": 123 }, "id": 1 }
GetFeeConfig returns the dynamic fee config of the chain.
JSON-RPC request
"2.0"
"platform.getFeeConfig"
{}
1
Successful response
Method result
Show child attributes
Was this page helpful?