'Publicly available archive NEAR RPC API?
Looking for a node that has pre-indexxed the NEAR blockchain so I can query for idempotent historical data. Thank you
Solution 1:[1]
Please take a look at https://docs.near.org/docs/api/rpc#setup
endpoint URL varies by network:
- mainnet https://rpc.mainnet.near.org
- testnet https://rpc.testnet.near.org betanet
- https://rpc.betanet.near.org (may be unstable) localnet
- http://localhost:3030
Querying historical data (older than 5 epochs or ~2.5 days), you may get responses that the data is not available anymore. In that case, archival RPC nodes will come to your rescue:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Adam R |
