Skandha Bundler
Get Gas Price
We can check the current gas fee for any network, this will return maxPriorityFeePerGas and maxFeePerGas.
A sample request through curl like this can be used, with any Skandha bundler deployment being the endpoint.
This can be run in any command line.
skandha_getGasPrice is the method.
curl --location 'https://polygon-bundler.etherspot.io/' \
--header 'Content-Type: application/json' \
--data '{
"id": 3,
"method": "skandha_getGasPrice",
"jsonrpc": "2.0"
}'
A successful response will look like this:
{
"jsonrpc":"2.0",
"id":3,"result": {
"maxPriorityFeePerGas":"0xb63e8cfd9",
"maxFeePerGas":"0x152ae3b22c"
}
}