curl --request POST \
--url 'https://api.avax.network/ext/bc/P#platform.getValidatorFeeConfig' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "platform.getValidatorFeeConfig",
"params": {},
"id": 1
}
'{
"jsonrpc": "2.0",
"result": {
"minPrice": 123,
"maxPrice": 123
},
"id": 1
}GetValidatorFeeConfig returns the validator fee config of the chain.
curl --request POST \
--url 'https://api.avax.network/ext/bc/P#platform.getValidatorFeeConfig' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"method": "platform.getValidatorFeeConfig",
"params": {},
"id": 1
}
'{
"jsonrpc": "2.0",
"result": {
"minPrice": 123,
"maxPrice": 123
},
"id": 1
}JSON-RPC request
Was this page helpful?