Base
Base
Base
O plano gratuito cobre projetos pessoais. O pay-as-you-go escala sem cartão de crédito.
net_peerCount returns how many peers a Base node is currently connected to, encoded as a hex integer (for example "0x1a" is 26 peers). Base is Coinbase's OP Stack optimistic rollup that settles to Ethereum with gas paid in ETH, and a node leans on its peer set to receive newly sequenced blocks and gossip transactions; a healthy peer count is what keeps it in step with the ~2-second block cadence. Query it at https://base.therpc.io/YOUR_API_KEY on chain ID 8453 (hex 0x2105) and decode the hex to a decimal count.
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 Base playground.
https://base.therpc.io/YOUR_API_KEY returns the peer count of whichever backend Base node served your request, not a number tied to your account or session — so the value reflects the provider's infrastructure, not yours.