{"openapi":"3.1.0","info":{"title":"Rollux API","version":"1.0.0","description":"Live EVM on-chain data for Rollux (chain id 570) — the Syscoin Layer-2 secured by Bitcoin merge-mining, whose gas token is SYS — served directly from public Layer-2 JSON-RPC nodes with multi-node failover. The status endpoint returns the chain and network id, the latest block height and the node client version. The block endpoint returns a block by number (or the latest) with its hash, parent hash, timestamp, transaction count, gas used and gas limit, miner and size. The gas endpoint returns the current gas price in both wei and gwei. The balance endpoint returns the SYS balance and outgoing transaction count for any address, converted from base wei (18 decimals) into whole SYS with exact big-integer scaling. Every figure is read live from the chain over JSON-RPC — nothing bundled or modelled — behind a short server-side cache with keep-warm so the feed stays fast and fresh. Ideal for explorers, wallet and dashboard tooling, gas trackers, address monitors and analytics apps across the Syscoin and Rollux ecosystem. Live keyless upstream. 5 endpoints.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/rollux-api","description":"oanor gateway"}],"tags":[{"name":"Rollux"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/balance":{"get":{"operationId":"get_v1_balance","tags":["Rollux"],"summary":"Address balance & tx count","description":"","parameters":[{"name":"address","in":"query","required":false,"description":"EVM address (0x + 40 hex)","schema":{"type":"string"},"example":"0x000000000000000000000000000000000000dEaD"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"chain":"Rollux","symbol":"SYS","address":"0x000000000000000000000000000000000000dEaD","balance":0.0001,"tx_count":0,"balance_wei":"100000000000000"},"meta":{"timestamp":"2026-06-15T20:40:21.752Z","request_id":"c5a0dcff-8f07-4053-88bb-c28951c4b617"},"status":"ok","message":"Rollux balance retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/block":{"get":{"operationId":"get_v1_block","tags":["Rollux"],"summary":"Block by number (or latest)","description":"","parameters":[{"name":"number","in":"query","required":false,"description":"Block number; omit for latest","schema":{"type":"string"},"example":"5000000"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"hash":"0xfacd684f4e93b8c1618a387b1cc9afe22f2a9fdb15f07ba80014aeaf93f36660","chain":"Rollux","miner":"0x4200000000000000000000000000000000000011","number":5000000,"gas_used":46841,"tx_count":1,"gas_limit":30000000,"timestamp":1697365241,"size_bytes":869,"parent_hash":"0xa13aa0bd2277908a5e7156b8db2ba2202c481c02413e50f552442f2aeb57ff76","timestamp_iso":"2023-10-15T10:20:41.000Z"},"meta":{"timestamp":"2026-06-15T20:40:21.888Z","request_id":"195c904d-99c1-47ea-b00f-b2014581f6a3"},"status":"ok","message":"Rollux block retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/gas":{"get":{"operationId":"get_v1_gas","tags":["Rollux"],"summary":"Current gas price","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"chain":"Rollux","source":"eth_gasPrice","symbol":"SYS","gas_price_wei":100000050,"gas_price_gwei":0.10000005},"meta":{"timestamp":"2026-06-15T20:40:22.008Z","request_id":"964297bb-b712-460a-9e04-b43d3732e5e3"},"status":"ok","message":"Rollux gas retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/status":{"get":{"operationId":"get_v1_status","tags":["Rollux"],"summary":"Chain status","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"chain":"Rollux","source":"Rollux L2 RPC","symbol":"SYS","chain_id":570,"network_id":570,"latest_block":47095390,"client_version":"Geth/v0.1.0-unstable-36831023/linux-amd64/go1.20.8"},"meta":{"timestamp":"2026-06-15T20:40:22.141Z","request_id":"1a41ffc0-89c3-474a-b822-8d9668e8dc5c"},"status":"ok","message":"Rollux status retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"api":"Rollux API","chain":"Rollux","source":"Rollux Layer-2 JSON-RPC nodes","symbol":"SYS","chain_id":570,"endpoints":["/v1/status","/v1/block","/v1/gas","/v1/balance","/v1/meta"],"description":"Live EVM on-chain data for Rollux — the Bitcoin-merge-mined Syscoin Layer-2 (gas token SYS).","documentation":"https://rollux-api.oanor.dev"},"meta":{"timestamp":"2026-06-15T20:40:22.258Z","request_id":"9523d22b-20eb-4fe3-8545-7e17c5c2e148"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":340,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":1160,"monthly_call_quota":15400,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3390,"monthly_call_quota":82000,"rps_limit":16,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":8260,"monthly_call_quota":330000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/rollux-api"}