Getting Started with Maroo Network
Learn how to connect to Maroo Network and make your first RPC call.
Prerequisites
- Basic understanding of blockchain concepts
- curl or a JSON-RPC client installed
Network Endpoints
Maroo Network provides JSON-RPC endpoints compatible with Ethereum tooling. You can use any Ethereum-compatible library or tool to interact with the network.
Testnet: https://rpc-testnet.maroo.io Tip: Start with testnet for development. You can get test OKRW from the faucet.
Your First RPC Call
Let's check the current block number to verify your connection:
curl -X POST https://rpc-testnet.maroo.io \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' Check Your Balance
Query the OKRW balance of any address:
curl -X POST https://rpc-testnet.maroo.io \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_getBalance",
"params": ["YOUR_ADDRESS", "latest"],
"id": 1
}'