Skip to main content

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.

Prerequisites

  • An API key for request authentication. To get an API key, create and set up an app in the Developer Console.
  • Access to the Ronin Archive Node service. For more information, see Request access.

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

Ronin JSON-RPC API reference

Was this helpful?
Happy React is loading...