{"openapi":"3.1.0","info":{"title":"Oasis Sapphire API","version":"1.0.0","description":"Real-time on-chain data for Oasis Sapphire (chain-id 23294) — the confidential EVM-compatible ParaTime on the Oasis Network that brings on-chain privacy to smart contracts, with ROSE as its native token. 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 ROSE balance and transaction count of any address. A keyless, no-account JSON wrapper over the canonical Sapphire JSON-RPC node — decoded from hex into plain decimals and human-readable ROSE so you do not have to. Ideal for explorers, wallets, dashboards, gas estimators and analytics on Oasis Sapphire.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/sapphire-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":"Oasis Sapphire","chain_id":23294,"network_id":23294,"rpc_healthy":true,"latest_block":14419478,"native_symbol":"ROSE","client_version":"oasis/5.3.4/go1.24.7"},"meta":{"timestamp":"2026-06-15T20:41:13.297Z","request_id":"8d51566b-993d-43b9-9f39-9753769a1839"},"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":"5000000"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"hash":"0x73078e1484f34ea7282a9b97a3f50ddf82d801f4eb413f0de0a7d4cae70cff45","miner":"0x0000000000000000000000000000000088888888","number":5000000,"gas_used":520788,"gas_limit":15000000,"timestamp":1723603297,"size_bytes":7033,"parent_hash":"0xb7afe26ed828b639bac72c145afdce296d3d15cec79b619ab0346748910fbec5","timestamp_iso":"2024-08-14T02:41:37.000Z","transaction_count":7},"meta":{"timestamp":"2026-06-15T20:41:13.542Z","request_id":"44950adb-70dc-48f1-b4de-de2c1f76089a"},"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":14419478,"gas_price_wei":"100000000000","native_symbol":"ROSE","gas_price_gwei":100},"meta":{"timestamp":"2026-06-15T20:41:13.780Z","request_id":"497e20bb-5a6e-4650-b985-dd2925544f50"},"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 ROSE 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.00776610637329577","balance_wei":"7766106373295770","native_symbol":"ROSE","transaction_count":0},"meta":{"timestamp":"2026-06-15T20:41:14.050Z","request_id":"17d27418-d40d-4c5f-9389-9438815644d0"},"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":"Confidential EVM ParaTime (Oasis Network)","chain":"Oasis Sapphire","network":"mainnet","chain_id":23294,"decimals":18,"ecosystem":"Oasis Sapphire — the confidential EVM-compatible ParaTime on the Oasis Network, native token ROSE","endpoints":["/v1/status","/v1/block","/v1/gas","/v1/balance","/v1/meta"],"description":"Oasis Sapphire is the confidential EVM-compatible ParaTime on the Oasis Network, bringing on-chain privacy to smart contracts, with ROSE as its native token.","documentation":"https://sapphire-api.oanor.dev","native_symbol":"ROSE"},"meta":{"timestamp":"2026-06-15T20:41:14.148Z","request_id":"913c97da-f17d-432f-89e5-c60288910e29"},"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":4300,"rps_limit":3,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1270,"monthly_call_quota":57000,"rps_limit":10,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3340,"monthly_call_quota":214000,"rps_limit":25,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":7260,"monthly_call_quota":896000,"rps_limit":60,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/sapphire-api"}