Arbitrum One
¿Listo para usar esto en producción?
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
Arbitrum One
El plan gratuito cubre proyectos personales. El pago por uso escala sin necesidad de tarjeta.
eth_maxPriorityFeePerGas returns the node's suggested priority fee — the EIP-1559 tip — per unit of gas, hex-encoded in wei, on Arbitrum One. Gas on this Optimistic Rollup is paid in ETH, so the value is an ETH-denominated tip. Worth noting for Arbitrum One specifically: the sequencer orders transactions on a first-come basis and the protocol's overall fee is dominated by the L2 execution plus L1 calldata posting cost, so the priority tip is typically very small compared with proof-of-work L1s. Use it as a sensible default when assembling EIP-1559 transactions. Send requests to https://arbitrum.therpc.io/YOUR_API_KEY (chain ID 42161, 0xa4b1).
maxPriorityFeePerGas field when building an EIP-1559 transaction to swap on Camelot or interact with a GMX contract, so the tip matches current sequencer conditions.Este método no acepta parámetros. Pasa un array vacío [].
| Tipo | Descripción |
|---|---|
| string | Hex-encoded priority fee in wei. This is the node's heuristic — typically derived from recent block history. |
Try it live in the Arbitrum One playground.
| Código | Mensaje | Causa |
|---|---|---|
-32000 | method not supported | The connected network does not implement EIP-1559 and does not support this method. |
eth_gasPrice.eth_feeHistory with explicit percentiles instead of relying on this single heuristic.