Arbitrum One
Arbitrum One
Arbitrum One
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
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.هذا الأسلوب لا يأخذ أي معاملات. مرر مصفوفة فارغة [].
| النوع | الوصف |
|---|---|
| string (hex) | Hex-encoded integer block number. Parse with parseInt(value, 16) or BigInt(value). |
Try it live in the Arbitrum One playground.
| الكود | الرسالة | السبب |
|---|---|---|
-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.