Arbitrum One
هل أنت مستعد لاستدعاء هذا في الإنتاج؟
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
Arbitrum One
الخطة المجانية تغطي المشاريع الشخصية. الدفع حسب الاستخدام يتوسع دون بطاقة.
eth_getUncleByBlockNumberAndIndex returns the uncle (ommer) block header at a given index within the block at a specified height or block tag. It is the height-addressed twin of eth_getUncleByBlockHashAndIndex and is offered on Arbitrum One — the ETH-fee Optimistic Rollup built on Nitro/ArbOS — purely for Ethereum JSON-RPC compatibility. Because Arbitrum One orders blocks through a single sequencer with no proof-of-work fork race, it never produces uncle blocks, so this method always returns null here whatever block number or index you supply. Point requests at https://arbitrum.therpc.io/YOUR_API_KEY (chain ID 42161, 0xa4b1).
null, since the sequencer produces no ommers."earliest" to reach genesis-era blocks conveniently without first resolving a hash — though on Arbitrum One even the earliest blocks reference no uncles.| # | الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|---|
| 1 | blockTag | string | نعم | The block that references the uncle. |
| 2 | uncleIndex | string (hex) | نعم | Zero-based index of the uncle within the block's uncles array. |
| النوع | الوصف |
|---|---|
| object | null | Same uncle header object as eth_getUncleByBlockHashAndIndex. Returns null if not found. |
Try it live in the Arbitrum One playground.
| الكود | الرسالة | السبب |
|---|---|---|
-32602 | Invalid params | Block tag or uncle index is malformed. |
null for every block — recent or historical — just as post-Merge proof-of-stake chains do.المعاملات
hex block number or "latest"/"earliest"/"pending"/"safe"/"finalized"
0x-prefixed hex integer (e.g. "0x0")