curl --request POST \
--url https://rpc.etherspot.io/v1/137/ \
--header 'Content-Type: application/json' \
--data '{
"id": 123,
"method": "<string>"
}'
Get gas price
curl --request POST \
--url https://rpc.etherspot.io/v1/137/ \
--header 'Content-Type: application/json' \
--data '{
"id": 123,
"method": "<string>"
}'
{
"id": 3,
"method": "skandha_getGasPrice"
}
{
"id": 3,
"result": {
"maxPriorityFeePerGas": "0xaac11ce38",
"maxFeePerGas": "0x1663d57dc4"
}
}
Get gas price
The body is of type object
.
Successful operation