# Custom Ronin Mainnet APIs and analytics

Human-readable page: https://envio.dev/chains/ronin

An Ethereum layer 2 originally built for gaming, now focused on gamified experiences and real-world crypto adoption. (Source: https://docs.roninchain.com/basics/introduction)

## Chain facts

- Chain ID: 2020
- Native token: RON (RON)
- Network: Mainnet
- Block explorer: https://app.roninchain.com
- Official site: https://roninchain.com

## Support

RPC source: HyperIndex indexes Ronin Mainnet through an RPC endpoint you provide. Add an `rpc` entry to config.yaml and HyperIndex uses it for the historical backfill and for following the chain head. See https://docs.envio.dev/docs/HyperIndex/rpc-sync.md

```yaml
name: my-indexer
contracts:
  - name: MyContract
    events:
      - event: "Transfer(address indexed from, address indexed to, uint256 value)"
chains:
  - id: 2020 # Ronin Mainnet
    rpc: https://api.roninchain.com/rpc
    start_block: 0
    contracts:
      - name: MyContract
        address: "0x0000000000000000000000000000000000000000"
```

## More

- All supported chains: https://envio.dev/chains.md
- Envio docs for AI agents: https://envio.dev/llms.txt
