Arbitrum One
Arbitrum One
Arbitrum One
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
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.Diese Methode erwartet keine Parameter. Übergib ein leeres Array [].
| Typ | Beschreibung |
|---|---|
| string (hex) | Hex-encoded gas price in wei (e.g. "0x4a817c800" = 20 gwei). |
Try it live in the Arbitrum One playground.
| Code | Meldung | Ursache |
|---|---|---|
-32603 | Internal error | Node could not estimate current gas price. |
eth_maxPriorityFeePerGas together with eth_feeHistory, which separate the base fee from the tip.