{"openapi":"3.1.0","info":{"title":"Scroll API","version":"1.0.0","description":"Real-time on-chain data for Scroll (chain-id 534352) — the native zkEVM layer-2 that scales Ethereum with zero-knowledge proofs. Query live network status (latest block height, network id, client version), fetch any block by height or the latest one (timestamp, transaction count, gas used / limit, base fee, miner), read the current gas price in wei and gwei, and look up the native ETH balance and transaction count of any address. A keyless, no-account JSON wrapper over the canonical Scroll JSON-RPC node — decoded from hex into plain decimals and human-readable ETH so you do not have to. Ideal for explorers, wallets, dashboards, gas estimators and analytics on the Scroll zkEVM rollup.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/scroll-api","description":"oanor gateway"}],"tags":[{"name":"Network"},{"name":"Blocks"},{"name":"Gas"},{"name":"Accounts"},{"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/status":{"get":{"operationId":"get_v1_status","tags":["Network"],"summary":"Network status (latest block, chain id, client version)","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"chain":"Scroll","chain_id":534352,"network_id":534352,"rpc_healthy":true,"latest_block":34086931,"native_symbol":"ETH","client_version":"Geth/v5.10.6-mainnet/linux-amd64/go1.22.12"},"meta":{"timestamp":"2026-06-15T11:14:46.704Z","request_id":"31da9298-d099-412d-ac36-1bbba736a263"},"status":"ok","message":"Chain status retrieved successfully","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":["Blocks"],"summary":"Block by height (or latest)","description":"","parameters":[{"name":"number","in":"query","required":false,"description":"Block height (decimal or 0x-hex), or \"latest\"","schema":{"type":"string"},"example":"30000000"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"hash":"0x3d92380cbca7f8724bd8b559104436988654995a6a69e9ce7c49ec0aede16704","miner":"0x0000000000000000000000000000000000000000","number":30000000,"gas_used":123563,"gas_limit":20000000,"timestamp":1770887715,"size_bytes":869,"parent_hash":"0x41a0b83d0fb140e3b52c8077f6f5b53fc62cfefcb666c3c8a79cdfbe6f877267","timestamp_iso":"2026-02-12T09:15:15.000Z","transaction_count":1,"base_fee_per_gas_wei":"120008"},"meta":{"timestamp":"2026-06-15T11:14:46.813Z","request_id":"67413f17-691b-4a04-9c51-21e7d18f2150"},"status":"ok","message":"Block retrieved successfully","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":["Gas"],"summary":"Current gas price (wei + gwei)","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"at_block":34086931,"gas_price_wei":"120108","native_symbol":"ETH","gas_price_gwei":0.00012},"meta":{"timestamp":"2026-06-15T11:14:46.940Z","request_id":"976fd9d8-e868-4198-85ba-656b7fa9b8bc"},"status":"ok","message":"Gas price retrieved successfully","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/balance":{"get":{"operationId":"get_v1_balance","tags":["Accounts"],"summary":"Native ETH balance and transaction count of an address","description":"","parameters":[{"name":"address","in":"query","required":true,"description":"0x-prefixed 40-hex EVM address","schema":{"type":"string"},"example":"0x000000000000000000000000000000000000dEaD"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"address":"0x000000000000000000000000000000000000dEaD","balance":"0.014630860752342611","balance_wei":"14630860752342611","native_symbol":"ETH","transaction_count":0},"meta":{"timestamp":"2026-06-15T11:14:47.059Z","request_id":"ac7cb79f-d2f7-422b-8728-b4bc42fecf47"},"status":"ok","message":"Balance retrieved successfully","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":"Service metadata","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"type":"zkEVM rollup (zero-knowledge L2)","chain":"Scroll","network":"mainnet","chain_id":534352,"decimals":18,"ecosystem":"Scroll — native zkEVM Ethereum layer-2","endpoints":["/v1/status","/v1/block","/v1/gas","/v1/balance","/v1/meta"],"description":"Scroll is a bytecode-compatible zkEVM layer-2 rollup that scales Ethereum with zero-knowledge proofs.","documentation":"https://scroll-api.oanor.dev","native_symbol":"ETH"},"meta":{"timestamp":"2026-06-15T11:14:47.120Z","request_id":"0abab546-3b2f-47a0-ab47-8d94742bb708"},"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":4800,"rps_limit":3,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1290,"monthly_call_quota":58300,"rps_limit":10,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3290,"monthly_call_quota":233500,"rps_limit":25,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":7150,"monthly_call_quota":936000,"rps_limit":60,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/scroll-api"}