Granite Upgrade Activates in09d:00h:01m:39s
Fees

platform.getFeeConfig

GetFeeConfig returns the dynamic fee config of the chain.

POST
/ext/bc/P#platform.getFeeConfig

JSON-RPC request

jsonrpcstring
methodstring
paramsobject
idinteger

Response Body

application/json

application/json

curl -X POST "https://api.avax.network/ext/bc/P#platform.getFeeConfig" \  -H "Content-Type: application/json" \  -d '{    "jsonrpc": "2.0",    "method": "platform.getFeeConfig",    "params": {},    "id": 1  }'
{
  "jsonrpc": "2.0",
  "result": {
    "maxGas": 0
  },
  "id": 1
}
{
  "jsonrpc": "2.0",
  "error": {
    "code": 0,
    "message": "string",
    "data": {}
  },
  "id": 1
}

Is this guide helpful?