Arbitrum One
Arbitrum One
Arbitrum One
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
eth_blockNumber returns the height of the most recently sequenced L2 block on Arbitrum One, the Optimistic Rollup that settles to Ethereum and pays gas in ETH. Because the Nitro sequencer gives sub-second soft confirmations, this height climbs quickly — far faster than the underlying L1 batch cadence. Point it at https://arbitrum.therpc.io/YOUR_API_KEY (chain ID 42161) to read the current tip of the chain.
eth_getLogs ranges from a GMX or Uniswap deployment.Diese Methode erwartet keine Parameter. Übergib ein leeres Array [].
| Typ | Beschreibung |
|---|---|
| string (hex) | Hex-encoded integer block number. Parse with parseInt(value, 16) or BigInt(value). |
Try it live in the Arbitrum One playground.
| Code | Meldung | Ursache |
|---|---|---|
-32603 | Internal error | Node is not reachable or has not yet produced any block. |
"0xb71b00"), not a number — run it through parseInt(value, 16) or BigInt(value) before any arithmetic.