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