Skip to main content
Version: SDK V2

7. biconomy_getGasFeeValues

caution

This documentation is for using our Bundler API directly. If you are building with the Biconomy SDK you can follow the instructions on this page.

info

You can get your Bundler URL from the Biconomy Dashboard. This is the same endpoint URL used for all requests. All requests must follow the JSON RPC specifications.

This endpoint returns the maxFeePerGas & maxPriorityFeePerGas.

Parameters

Body

ParamTypeDescriptionRequired
methodstringName of method in this case: biconomy_getGasFeeValuesRequired
paramsarrayAn empty array with no specific paramsRequired
idstringid for request determined by client for JSON RPC requestsRequired
jsonrpcstringJSON RPC version in this case 2.0.0Required

Request

{
"method":"biconomy_getGasFeeValues",
"params":[],
"id":1697033314,
"jsonrpc":"2.0"
}

Response

{
"jsonrpc": '2.0',
"id": 1697033314,
"result": {
"maxPriorityFeePerGas": "100000000",
"maxFeePerGas": "100000000"
}
}