eth_maxPriorityFeePerGas
Returns a suggested value for maxPriorityFeePerGas to use in an EIP-1559 transaction. The value is the tip paid to the sequencer on top of the base fee.
Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”| Field | Type | Description |
|---|---|---|
result | string | The suggested priority fee per gas in wei as a hexadecimal string. |
Example
Section titled “Example”Request
Section titled “Request”{ "jsonrpc": "2.0", "method": "eth_maxPriorityFeePerGas", "params": [], "id": 1}Response
Section titled “Response”{ "jsonrpc": "2.0", "id": 1, "result": "0x1"}