Connect to an archive node
Overview
If you are building a dApp (decentralized app) or collecting information on Ronin that requires historical data, then you need to connect to an archive Ronin node instead of an RPC node.
Archive nodes store the same information as full nodes, as well as all previous states of the blockchain. Archive nodes build archival blockchain data quickly and efficiently, and they’re useful for querying arbitrary historical data, like a user’s balances on a specific block.
Before you start
- Create and set up your app in Developer Console.
- Request access to the Ronin Archive Node service.
Connect to the archive node
To connect to the archive node, modify the endpoint as follows: instead of https://api-gateway.skymavis.com/rpc
, use https://api-gateway.skymavis.com/rpc/archive
.
See also
Was this helpful?
Happy React is loading...