Regular RPC Node
A regular RPC node provides a gateway for day-to-day exchange operations. Use it to:- Read finalized blocks and receipt outcomes to monitor incoming deposits.
- Submit withdrawals and track their execution.
- Query current native and fungible-token balances for reconciliation.
Resources
Archival Node
An archival RPC node provides past blocks, transaction and receipt outcomes, and account and contract states. Use it to:- Backfill deposits after downtime that exceeds a regular RPC node’s retention window.
- Investigate older deposits, withdrawals, and their receipt chains.
- Query native or fungible-token balances at older block heights for reconciliation.
Resources
Running Private Nodes
Exchanges running RPC nodes can reduce public exposure and unsolicited peer connections by restricting RPC access and disabling inbound peering. This setup ensures that only authorized applications or nodes can interact with the RPC node, thus enhancing security. RPC access and peering are configured separately. Add the relevant settings below into the node’sconfig.json, then restart neard.
Private RPC Access
Bind RPC to the loopback interface to prevent direct access from other hosts:Outbound-only Peering
A node can initiate its ordinary peer connections and exchange blocks and transactions over those connections. Disable inbound connections from ordinary peers with:24567 by default - configured through network.addr. Once your node is synchronized, you can close this port in the firewall while keeping inbound_disabled: true.
State Sync Caveats
Nodes can follow the chain and catch up over outbound peer connections (i.e.inbound_disabled: true) while the inbound peering port is closed.
However, if your node is too far behind, you can open the inbound peering port temporarily to allow incoming connections and catch up more efficiently.
Open the port and follow the Epoch Sync setup to refresh network.boot_nodes before starting neard. Once synchronization completes, you can close the peering port to new inbound connections again.
State Sync on Archival Nodes
State Sync on Archival Nodes
Frequently Asked Questions
Can regular and archival RPC nodes run with inbound peering disabled?
Can regular and archival RPC nodes run with inbound peering disabled?
network.experimental.inbound_disabled to true and restrict RPC access separately. Regular nodes need inbound connectivity for peer state sync during setup or recovery after falling far behind. Archival nodes process missing blocks and need peers that retain that history. See Running Private Nodes for configuration and recovery caveats.Can a node be configured to archive all blockchain data since genesis?
Can a node be configured to archive all blockchain data since genesis?
Can a node be configured to expose an RPC (ex: HTTP) interface?
Can a node be configured to expose an RPC (ex: HTTP) interface?
rpc.addr in the node’s config.json file.Can a node be gracefully terminated and restarted (using archived data on disk to continue syncing)?
Can a node be gracefully terminated and restarted (using archived data on disk to continue syncing)?
Does a node expose an interface for retrieving health telemetry in a structured format (ex: JSON) over RPC?
Does a node expose an interface for retrieving health telemetry in a structured format (ex: JSON) over RPC?
GET /status and GET /health provide this interface./status: node version, block context, and syncing status. Use network RPC for peer information./health: success/failure if node is up running & progressing
Can a node be started using a Dockerfile without human supervision?
Can a node be started using a Dockerfile without human supervision?
neard release or container image, persist the node’s home and storage volumes, and supply the network’s genesis and configuration. Pin the release and follow node operation guidance.What is the source of truth for current block height exposed via API?
What is the source of truth for current block height exposed via API?
- MainNet
- https://nearblocks.io
https://rpc.mainnet.near.org/status
- TestNet
- https://testnet.nearblocks.io
https://rpc.testnet.near.org/status
How can I quickly sync a node?
How can I quickly sync a node?
What is the network upgrade process?
What is the network upgrade process?