eth_estimateUserOperationGas
Last updated
Last updated
Please refer to 1Balance & Relay to create a sponsorApiKey
.
The estimated preVerificationGas
is always zero as it is not required by the bundler. Instead, transaction fees are settled post-execution which avoids overcharging the user. Other implementations unconditionally charge users the entire preVerificationGas
amount since this is not metered by the EntryPoint
.
Returns estimated gas values for a UserOperation
.
/bundlers/{chainId}/rpc
Target network chain identifier.
1Balance API key which covers transaction costs.
UserOperation
object (gas limits and prices are optional)EntryPoint
address the request should be sent through. This MUST be one of the entry points returned by the eth_supportedEntryPoints
rpc call.