Arbitrum One
Pronto para usar isso em produção?
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
Arbitrum One
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
net_peerCount returns the number of peers currently connected to the node as a hex-encoded integer — for example "0x1a" for 26 peers. On Arbitrum One (chain ID 42161), the Optimistic Rollup that settles to Ethereum and meters gas in ETH, Nitro nodes connect to peers to receive the sequencer's transaction feed and propagate L2 blocks, so the peer count is a quick gauge of how well a node is wired into the network. Query it against https://arbitrum.therpc.io/YOUR_API_KEY with no parameters; remember to convert the hex string to decimal before using it in dashboards or thresholds.
Este método não aceita parâmetros. Passe um array vazio [].
| Tipo | Descrição |
|---|---|
| string | Hex-encoded peer count, e.g. `"0x1a"` = 26 peers. |
Try it live in the Arbitrum One playground.