Arbitrum One
Arbitrum One
Arbitrum One
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
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.Este método não aceita parâmetros. Passe um array vazio [].
| Tipo | Descrição |
|---|---|
| string (hex) | Hex-encoded integer block number. Parse with parseInt(value, 16) or BigInt(value). |
Try it live in the Arbitrum One playground.
| Código | Mensagem | Causa |
|---|---|---|
-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.