curl --request POST \
--url 'https://api.avax.network/ext/bc/P#platform.getValidatorFeeState' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "platform.getValidatorFeeState",
"params": {},
"id": 1
}
'{
"jsonrpc": "2.0",
"result": {
"excess": {},
"price": {},
"timestamp": "2023-11-07T05:31:56Z"
},
"id": 1
}GetValidatorFeeState returns the current validator fee state of the chain.
curl --request POST \
--url 'https://api.avax.network/ext/bc/P#platform.getValidatorFeeState' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "platform.getValidatorFeeState",
"params": {},
"id": 1
}
'{
"jsonrpc": "2.0",
"result": {
"excess": {},
"price": {},
"timestamp": "2023-11-07T05:31:56Z"
},
"id": 1
}JSON-RPC request
Was this page helpful?