{"openapi":"3.1.0","info":{"title":"Gravity API","version":"1.0.0","description":"Real-time on-chain data for Gravity (Gravity Alpha Mainnet, chain-id 1625) — the high-performance chain by Galxe built on the Arbitrum Nitro stack, using G as its native gas 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 G balance and transaction count of any address. A keyless, no-account JSON wrapper over the canonical Gravity JSON-RPC node — decoded from hex into plain decimals and human-readable G so you do not have to. Ideal for explorers, wallets, dashboards, gas estimators and analytics on the Gravity chain.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/gravity-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":"Gravity Alpha Mainnet","chain_id":1625,"network_id":1625,"rpc_healthy":true,"latest_block":128858928,"native_symbol":"G","client_version":"nitro/vdevelopment/linux-amd64/go1.25.10"},"meta":{"timestamp":"2026-06-15T20:41:18.976Z","request_id":"19bd5cff-63bc-435c-86b0-ae60f89134d3"},"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":"10000000"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"hash":"0x1544983c82f62ea82579153f59edd6d93050f56a2e93163ef04c510b4b84a7a1","miner":"0xa4b000000000000000000073657175656e636572","number":10000000,"gas_used":54452,"gas_limit":1125899906842624,"timestamp":1728470060,"size_bytes":1069,"parent_hash":"0xe74d3d53bea729f5037f0d27cd05d5721c2e518c07beda1ac01d0c13c144a6f8","timestamp_iso":"2024-10-09T10:34:20.000Z","transaction_count":2,"base_fee_per_gas_wei":"1800000000000"},"meta":{"timestamp":"2026-06-15T20:41:19.236Z","request_id":"aa3e1164-f844-4e40-8cfa-e396ed169c45"},"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":128858928,"gas_price_wei":"1800000000000","native_symbol":"G","gas_price_gwei":1800},"meta":{"timestamp":"2026-06-15T20:41:19.513Z","request_id":"e4b4caab-3623-4d43-93ad-1c529fd9687d"},"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 G 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":"114.941578232676099975","balance_wei":"114941578232676099975","native_symbol":"G","transaction_count":0},"meta":{"timestamp":"2026-06-15T20:41:19.775Z","request_id":"a50da059-0597-4288-948d-dc6bd7eeeba5"},"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":"Arbitrum-Orbit L1 (Nitro stack)","chain":"Gravity Alpha Mainnet","network":"mainnet","chain_id":1625,"decimals":18,"ecosystem":"Gravity — chain by Galxe, native gas token G","endpoints":["/v1/status","/v1/block","/v1/gas","/v1/balance","/v1/meta"],"description":"Gravity (Gravity Alpha Mainnet) is a high-performance chain by Galxe built on the Arbitrum Nitro stack, using G as its native gas token.","documentation":"https://gravity-api.oanor.dev","native_symbol":"G"},"meta":{"timestamp":"2026-06-15T20:41:19.832Z","request_id":"02858bb0-309d-4be1-8478-95cdbac1e99b"},"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":4400,"rps_limit":3,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":1330,"monthly_call_quota":56000,"rps_limit":10,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":3440,"monthly_call_quota":217000,"rps_limit":25,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":7360,"monthly_call_quota":902000,"rps_limit":60,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/gravity-api"}