Get bundler fee history
curl --request POST \ --url https://rpc.etherspot.io/v1/137/ \ --header 'Content-Type: application/json' \ --data '{ "id": 123, "method": "<string>", "params": [ "<string>" ] }'
Example values you use to demo the API:
{ "id": 3, "method": "skandha_feeHistory", "params": [ "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789", "10", "latest" ] }
Example response:
{ "id": 3, "result": { "actualGasPrice": [ "0xfbdf3621f", "0xfbdf3621f", "0xfbdf3621f" ], "maxFeePerGas": [ "0x118b2ce6d2", "0x115bdb995e", "0x118b2ce6d2" ], "maxPriorityFeePerGas": [ "0x861c46800", "0x861c46800", "0x861c46800" ] } }