Arbitrum One
Arbitrum One
Arbitrum One
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
eth_gasPrice returns the node's suggested legacy gas price in wei for Arbitrum One, the ETH-gas Optimistic Rollup. It is a single-number snapshot of current fee conditions on the L2 — handy for a quick read, though it collapses Arbitrum's two-part cost (L2 execution plus L1 calldata posting) into one figure. Call https://arbitrum.therpc.io/YOUR_API_KEY (chain ID 42161) to get the current suggestion.
gasPrice field when constructing legacy (type-0) transactions for tooling that does not speak EIP-1559.eth_feeHistory percentiles for a more robust Arbitrum fee estimate.هذا الأسلوب لا يأخذ أي معاملات. مرر مصفوفة فارغة [].
| النوع | الوصف |
|---|---|
| string (hex) | Hex-encoded gas price in wei (e.g. "0x4a817c800" = 20 gwei). |
Try it live in the Arbitrum One playground.
| الكود | الرسالة | السبب |
|---|---|---|
-32603 | Internal error | Node could not estimate current gas price. |
eth_maxPriorityFeePerGas together with eth_feeHistory, which separate the base fee from the tip.