Base
Base
Base
Free tier covers personal projects. Pay-as-you-go scales without a card.
net_listening returns a boolean telling you whether a Base node is actively listening for incoming peer-to-peer connections. Base is Coinbase's OP Stack optimistic rollup that settles to Ethereum and charges gas in ETH; like any node on that network, a Base client must stay connected to peers to receive blocks from the sequencer and stay current. A true result means the P2P listener is open, which is the most basic liveness signal you can read. Send the call to https://base.therpc.io/YOUR_API_KEY on chain ID 8453 (hex 0x2105).
net_listening is true before a job starts broadcasting ETH transactions.This method takes no parameters. Pass an empty array [].
| Type | Description |
|---|---|
| boolean | `true` if the client is listening for P2P connections, `false` otherwise. |
Try it live in the Base playground.
true result only means the Base node has its listener open, not that it actually has peers connected. Pair it with net_peerCount to confirm the node is really exchanging data with the network.https://base.therpc.io/YOUR_API_KEY sit behind a load balancer and may always return true regardless of any single backend node's state, so treat this as a coarse signal rather than ground truth about a specific machine.