Skip to main content

Connect to an archive node

Overview

Building decentralized applications (dApps) or data-driven projects on Ronin often requires access to the blockchain's historical layers. Archive nodes are specialized nodes that maintain a complete history of all states changes since the inception of the blockchain, not just the recent data like standard RPC nodes. This comprehensive data access is crucial for complex queries such as extracting historical balances or changes in contract states.

Prerequisites

  • API key for authenticating your requests. Retrieve your API key from the Developer Console > your app > Information > KEY section.
  • Archive node access. Access must be granted to interact with the archive nodes.

For more information, see Get started.

Connect to the archive node

To connect to the archive node, you need to point your dApp to a different endpoint. Replace the standard RPC endpoint https://api-gateway.skymavis.com/rpc with the archive-specific endpoint https://api-gateway.skymavis.com/rpc/archive. This will enable your applications to query full historical data.

See also

Ronin JSON-RPC API reference

Was this helpful?
Happy React is loading...