Arbitrum One
Arbitrum One
Bereit, das in der Produktion aufzurufen?
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
Arbitrum One
Das Free-Tier deckt persönliche Projekte ab. Pay-as-you-go skaliert ohne Karte.
eth_getBlockTransactionCountByNumber reports how many transactions sit in a single Arbitrum One block, identified by its height or by a tag such as latest. Arbitrum One is an Optimistic Rollup (chain ID 42161) where the Nitro sequencer pays gas in ETH and posts batches down to Ethereum L1, so block occupancy reflects rollup demand rather than L1 mempool pressure. Send the request to https://arbitrum.therpc.io/YOUR_API_KEY and you get back the number of transactions in the block at the given height or block tag, encoded as a hex string.
latest block's transaction count to gauge real-time load on the Arbitrum sequencer during busy DeFi windows on GMX or Camelot.| # | Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|---|
| 1 | blockTag | string | Ja | The block to count transactions in. |
| Typ | Beschreibung |
|---|---|
| string (hex) | Hex-encoded transaction count. |
Try it live in the Arbitrum One playground.
| Code | Meldung | Ursache |
|---|---|---|
-32602 | Invalid params | Block tag is malformed or unrecognised. |
pending tag counts transactions the sequencer currently holds for the next block; that figure shifts between calls as Arbitrum's sub-second soft confirmations land, so treat it as a moving estimate."0x2a") — run it through parseInt(value, 16) before any numeric comparison.Parameter
hex block number or "latest"/"earliest"/"pending"/"safe"/"finalized"