Arbitrum One
Arbitrum One
准备好在生产环境中调用了吗?
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
Arbitrum One
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
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.此方法不需要任何参数,传入空数组 [] 即可。
| 类型 | 描述 |
|---|---|
| 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.
| 错误码 | 错误信息 | 原因 |
|---|---|---|
-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.