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.