Skip to content

Commit

Permalink
1618 docs adds eth_maxFeePG (#1621)
Browse files Browse the repository at this point in the history
* 1618 docs adds eth_maxFeePG

Signed-off-by: m4sterbunny <[email protected]>

* Update index.md

proof

Signed-off-by: m4sterbunny <[email protected]>

* Update docs/public-networks/reference/api/index.md

proof

Co-authored-by: Sally MacFarlane <[email protected]>
Signed-off-by: m4sterbunny <[email protected]>

* Update docs/public-networks/reference/api/index.md

proof

Co-authored-by: Sally MacFarlane <[email protected]>
Signed-off-by: m4sterbunny <[email protected]>

---------

Signed-off-by: m4sterbunny <[email protected]>
Co-authored-by: Sally MacFarlane <[email protected]>
  • Loading branch information
m4sterbunny and macfarla authored Jun 24, 2024
1 parent 870a5b6 commit fddfb62
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions docs/public-networks/reference/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5609,6 +5609,50 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_hashrate","params":[],"id":1
</Tabs>
### `eth_maxPriorityFeePerGas`
Returns an estimate of how much priority fee, in wei, you can pay to get a transaction included in the current block.
#### Parameters
None
#### Returns
`result`: _hexadecimal_ value in wei
<Tabs>
<TabItem value="curl HTTP request" label="curl HTTP request" default>
```bash
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_maxPriorityFeePerGas","params":[],"id":1}' http://127.0.0.1:8545
```
</TabItem>
<TabItem value="wscat WS request" label="wscat WS request">
```json
{ "jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1 }
```
</TabItem>
<TabItem value="JSON result" label="JSON result">
```json
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xf4240"
}
```
</TabItem>
</Tabs>
### `eth_mining`
Whether the client is actively mining new blocks. Besu pauses mining while the client synchronizes with the network regardless of command settings or methods called.
Expand Down

0 comments on commit fddfb62

Please sign in to comment.