Public RPC Endpoint
Connect your applications to our high-performance nodes.
https://rpc1.bariscode.my.idAvailable Methods
| Method | Endpoint Path | Description | Example |
|---|---|---|---|
| GET | /balance/:address | Get account balance and nonce | /balance/lumina1... |
| GET | /latest_block | Get information about the most recent block | /latest_block |
| GET | /block/:height | Get block details by height or hash | /block/100 |
| GET | /tx/:hash | Get specific transaction details | /tx/0x... |
| GET | /txs/:address | Get transaction history for an address | /txs/lumina1... |
| GET | /mempool/recent | Get list of pending transactions | /mempool/recent |
| GET | /network/stats | Get global network statistics | /network/stats |
| POST | /submit | Submit a signed transaction to the network | { "transaction": ... } |
Quick Integration
Use our SDK or direct fetch calls to interact with the chain from any environment.
// Fetch balance
const res = await fetch(`${baseUrl}/balance/YOUR_ADDRESS`);
const data = await res.json();
console.log(data.balance);
const res = await fetch(`${baseUrl}/balance/YOUR_ADDRESS`);
const data = await res.json();
console.log(data.balance);
Rate Limits
- Public Tier100 req/min
- Developer Tier10,000 req/min
- White-label NodeUnlimited
For high-traffic applications, consider running your own dedicated Lumina Node.