get_eth_estimated_fee_per_gas
The get_eth_estimated_fee_per_gas
method allows you to get the estimated gas priority fee for an active coin of your choice. Before using this method, you first need to use the start_eth_fee_estimator method.
parameter | Type | Description |
---|---|---|
coin | string | Ticker of the coin/asset for which we want to start the grass fee estimator. |
POST
get_eth_estimated_fee_per_gas{
"userpass": "RPC_UserP@SSW0RD",
"method": "get_eth_estimated_fee_per_gas",
"mmrpc": "2.0",
"params": {
"coin": "ETH"
}
}
{
"mmrpc": "2.0",
"result": {
"base_fee": "10.890879158",
"low": {
"max_priority_fee_per_gas": "0.1101",
"max_fee_per_gas": "11.949818698",
"min_wait_time": null,
"max_wait_time": null
},
"medium": {
"max_priority_fee_per_gas": "1.258084291",
"max_fee_per_gas": "13.905056537",
"min_wait_time": null,
"max_wait_time": null
},
"high": {
"max_priority_fee_per_gas": "2.495532249",
"max_fee_per_gas": "15.949758042",
"min_wait_time": null,
"max_wait_time": null
},
"source": "simple",
"base_fee_trend": "",
"priority_fee_trend": "",
"units": "Gwei"
},
"id": null
}