Pre-alphaWork in progress
Skip to content

eth_maxPriorityFeePerGas ​

Returns the current maxPriorityFeePerGas per gas in wei.

Ethereum specification · All supported methods

Parameters ​

No parameters. Send an empty params array.

Return value ​

A suggested priority fee per gas in wei, encoded as a hexadecimal quantity.

Example ​

Replace <gateway-url> with your gateway base URL and <service-url> with the chain’s service path, such as service/ethereum.

sh
curl -X POST "<gateway-url>/<service-url>" \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1,"method":"eth_maxPriorityFeePerGas","params":[]}'

Illustrative response; values depend on the selected network and request:

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x773c23ba"
}

Direct behavior ​

This is a provider observation, not a read pinned to Direct’s reference block. Estimates can differ across providers. See consistency boundaries.

Unstoppable Infrastructure.