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.
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
}JSON-RPC request
Was this page helpful?