eth_maxPriorityFeePerGas - Ethereum

eth_maxPriorityFeePerGas. Retrieves the maximum priority fee per gas (in wei) that the user is willing to pay to incentivize miners to include their transaction

eth_maxPriorityFeePerGas - ethereum [Value: 16CU]
Retrieves the maximum priority fee per gas (in wei) that the user is willing to pay to incentivize miners to include their transaction
Use cases

Use cases

  • Determine current max priority gas fee
  • Optimize transaction fees using latest priority fee
  • Estimate transaction cost for urgent transactions
Constraints

Constraints

  • Requires active network connection
  • Dependent on real-time blockchain data
  • Node must support EIP-1559 transactions
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl https://eth.drpc.org \
  -X POST \
  -H "Content-Type: application/json" \
  --data '{"method":"eth_maxPriorityFeePerGas","params":[],"id":1,"jsonrpc":"2.0"}'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0xb1770efb14906e509893b6190359658208ae64d0c56e22f748a1b0869885559e"
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200
The maximum priority fee per gas in wei, represented as a hexadecimal string.

Response params

object
idinteger
jsonrpcstring
resultarray_of_objects