cURL
curl --request POST \ --url https://api.gelato.digital/bundlers/{chainId}/rpc \ --header 'Content-Type: application/json' \ --data ' { "id": 1, "jsonrpc": "2.0", "method": "eth_getUserOperationGasPrice" } '
{ "id": 1, "jsonrpc": "2.0", "result": { "maxPriorityFeePerGas": "0x59682f00", "maxFeePerGas": "0x1fbbcb8304" } }
Returns an estimated gas price for a UserOperation.
UserOperation
Target network chain identifier.
Gelato API key for higher rate limits. This must be provided if sponsoring off-chain via Gas Tank.
Whether the request should be sponsored off-chain via Gas Tank
Successful response
Estimated gas price components for a UserOperation.
Show child attributes
Maximum priority fee per gas for the UserOperation.
Maximum fee per gas for the UserOperation.