Learn how to use the getFeeQuotes JSON-RPC method.
getFeeQuotes
getFeeQuotes
returns an array of UserOperation objects and hashes derived from a standard transaction object. Each returned object corresponds to a specific gas Payment method. It takes:
name
- string.version
- string.ownerAddress
- string.biconomyApiKey
- (optional), string. It should only be used if you’d like to use a Biconomy Paymaster.Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Request to retrieve fee quotes for operations.
The body is of type object
.
Successful response with fee quotes.
The response is of type object
.