Fees
platform.getFeeState
GetFeeState returns the current fee state of the chain.
JSON-RPC request
jsonrpcstring
methodstring
paramsobject
idinteger
Response Body
application/json
application/json
curl -X POST "https://api.avax.network/ext/bc/P#platform.getFeeState" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "method": "platform.getFeeState", "params": {}, "id": 1 }'{
"jsonrpc": "2.0",
"result": {
"price": "string",
"timestamp": "2019-08-24T14:15:22Z"
},
"id": 1
}{
"jsonrpc": "2.0",
"error": {
"code": 0,
"message": "string",
"data": {}
},
"id": 1
}Is this guide helpful?