# MCH Verse Chain API
> Live on-chain data for MCH Verse mainnet (the My Crypto Heroes gaming Verse-Layer L2 on Oasys, native OAS) via Blockscout — no key. Read network stats (block height, total transactions, gas), a gas oracle in gwei, the most recent blocks and full block detail by height or hash, any address balance and contract info, full transaction detail, ERC-20/game-token detail by contract, and a universal search across addresses, tokens, blocks and transactions. Real Layer-2 chain data with the rotating proxy as automatic fallback — 9 endpoints. Ideal for wallets, explorers, game and NFT tooling, portfolio trackers and on-chain monitoring on MCH Verse.

## Authentication
All requests require your oanor API key in the `x-oanor-key` header. Get one at https://www.oanor.com/developer/keys.

```bash
curl -H "x-oanor-key: oanor_live_…" "https://api.oanor.com/mchverse-api/..."
```

## Pricing
- **Free** (Free) — 4,400 calls/Mo, 2 req/s
- **Basic** ($8/Mo) — 106,500 calls/Mo, 8 req/s
- **Pro** ($26/Mo) — 586,000 calls/Mo, 20 req/s
- **Mega** ($71/Mo) — 2,860,000 calls/Mo, 50 req/s

## Endpoints

### Network

#### `GET /v1/gas` — Gas oracle (gwei)

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/mchverse-api/v1/gas"
```

**Response:**
```json
{
    "data": {
        "fast": null,
        "slow": null,
        "unit": "gwei",
        "average": null,
        "gas_used_today": "3879796382"
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:30.636Z",
        "request_id": "847a7e76-9c06-4238-93e3-0339f9b99fb5"
    },
    "status": "ok",
    "message": "Gas retrieved successfully",
    "success": true
}
```

#### `GET /v1/stats` — Network stats

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/mchverse-api/v1/stats"
```

**Response:**
```json
{
    "data": {
        "tvl_usd": null,
        "gas_prices": {
            "fast": null,
            "slow": null,
            "average": null
        },
        "total_blocks": 61862693,
        "coin_price_usd": null,
        "gas_used_today": "3879796382",
        "market_cap_usd": 0,
        "total_addresses": "702296",
        "total_transactions": "62025135",
        "transactions_today": "86801",
        "network_utilization_percent": 0.148678
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:31.044Z",
        "request_id": "b7e1f1a0-1fb5-441e-bd4d-9ac2c433e417"
    },
    "status": "ok",
    "message": "Stats retrieved successfully",
    "success": true
}
```

### Blocks

#### `GET /v1/block` — Block detail by height or hash

**Parameters:**
- `height` (query, optional, string) — Block height Example: `61840000`
- `hash` (query, optional, string) — Block hash (0x + 64 hex)

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/mchverse-api/v1/block?height=61840000"
```

**Response:**
```json
{
    "data": {
        "block": {
            "hash": "0x73aa3e80b359b48e50ef667f50f469c3024570f8d2328aec47e61a3cfae77b78",
            "size": 839,
            "miner": "0x4200000000000000000000000000000000000011",
            "height": 61840000,
            "gas_used": 43767,
            "tx_count": 1,
            "gas_limit": 30000000,
            "timestamp": "2026-06-08T11:51:29.000000Z",
            "burnt_fees": "0",
            "difficulty": "0",
            "base_fee_per_gas": "0"
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:31.425Z",
        "request_id": "c0d35367-fd07-4f3d-84b1-af5ca963ed13"
    },
    "status": "ok",
    "message": "Block retrieved successfully",
    "success": true
}
```

#### `GET /v1/blocks` — Most recent blocks

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/mchverse-api/v1/blocks"
```

**Response:**
```json
{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0xf018f28d572aa5c966f77b2c2f5e2e5d5623d93e35c3fd021b9159a478c60f92",
                "size": 839,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 61863642,
                "gas_used": 49355,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T18:25:31.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "0"
            },
            {
                "hash": "0xa0e17b27e036992199fff46478f6fcb68f06a578c8343c661e50a51be9dc3708",
                "size": 839,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 61863641,
                "gas_used": 43767,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp": "2026-06-08T18:25:30.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": "0"
            },
            {
                "hash": "0x5f587042cfb86d2ee6e9897d8bd0959bb80baaf1f27171c0526cb5c9d6a18c6c",
                "size": 839,
                "miner": "0x4200000000000000000000000000000000000011",
                "height": 61863640,
                "gas_used": 43767,
                "tx_count": 1,
                "gas_limit": 30000000,
                "timestamp
…(truncated, see openapi.json for full schema)
```

### Accounts

#### `GET /v1/address` — Address balance & contract info

**Parameters:**
- `address` (query, required, string) — Address (0x + 40 hex) Example: `0xda10214E717D44e505400Ec9419dB90e8E2a4402`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/mchverse-api/v1/address?address=0xda10214E717D44e505400Ec9419dB90e8E2a4402"
```

**Response:**
```json
{
    "data": {
        "address": {
            "ens": null,
            "hash": "0xda10214E717D44e505400Ec9419dB90e8E2a4402",
            "name": null,
            "token": null,
            "creator": null,
            "balance_oas": 0,
            "balance_wei": "0",
            "is_contract": false,
            "is_verified": false
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:32.963Z",
        "request_id": "270843d0-f464-4be2-b808-9165424bf96b"
    },
    "status": "ok",
    "message": "Address retrieved successfully",
    "success": true
}
```

#### `GET /v1/transaction` — Transaction detail

**Parameters:**
- `hash` (query, required, string) — Transaction hash (0x + 64 hex) Example: `0x600efbe11a7f84f25b3ed8c5005780d727b28c5be6db2294f80e12e23cd9bb47`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/mchverse-api/v1/transaction?hash=0x600efbe11a7f84f25b3ed8c5005780d727b28c5be6db2294f80e12e23cd9bb47"
```

**Response:**
```json
{
    "data": {
        "transaction": {
            "to": "0xa9155F8832203AB32C4Cac6597E5E61b30d34741",
            "from": "0x669422BCa0242E9A0Ea223ae4E021E6d513ccf7f",
            "hash": "0x600efbe11a7f84f25b3ed8c5005780d727b28c5be6db2294f80e12e23cd9bb47",
            "type": 0,
            "block": 61842971,
            "nonce": 34647418,
            "method": "0x34e47413",
            "status": "ok",
            "fee_oas": 0,
            "fee_wei": "0",
            "gas_used": 37746,
            "gas_price": "0",
            "timestamp": "2026-06-08T12:41:00.000000Z",
            "value_oas": 0,
            "value_wei": "0",
            "confirmations": 20674
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:33.395Z",
        "request_id": "0b49e61f-a079-4646-baa8-a118c144957e"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}
```

### Tokens

#### `GET /v1/token` — ERC-20 token detail

**Parameters:**
- `address` (query, required, string) — Token contract (0x + 40 hex) Example: `0xa9155F8832203AB32C4Cac6597E5E61b30d34741`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/mchverse-api/v1/token?address=0xa9155F8832203AB32C4Cac6597E5E61b30d34741"
```

**Response:**
```json
{
    "data": {
        "token": {
            "icon": null,
            "name": "MyCryptoHeros:GUM",
            "type": "ERC-20",
            "symbol": "GUM",
            "address": "0xa9155F8832203AB32C4Cac6597E5E61b30d34741",
            "holders": 30180,
            "decimals": 18,
            "total_supply": "21385607000000000000000000",
            "exchange_rate_usd": null,
            "circulating_market_cap": null
        }
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:33.757Z",
        "request_id": "7b7b2bf2-84f8-4120-a30e-e3a014a1e34c"
    },
    "status": "ok",
    "message": "Token retrieved successfully",
    "success": true
}
```

### Search

#### `GET /v1/search` — Universal search

**Parameters:**
- `q` (query, required, string) — Address, token, block or tx Example: `mycrypto`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/mchverse-api/v1/search?q=mycrypto"
```

**Response:**
```json
{
    "data": {
        "count": 5,
        "query": "mycrypto",
        "results": [
            {
                "name": "MyCryptoHeros:GUM",
                "type": "token",
                "symbol": "GUM",
                "address": "0xa9155F8832203AB32C4Cac6597E5E61b30d34741"
            },
            {
                "name": "MyCryptoHeroes:Extension",
                "type": "token",
                "symbol": "MCHE",
                "address": "0x78F0dB9b7e2378f53C38f551adA00c5c0F441715"
            },
            {
                "name": "MyCryptoHeroes:Hero",
                "type": "token",
                "symbol": "MCHH",
                "address": "0x598BE1c5ff240157C2c552D112C9f9403068829d"
            },
            {
                "name": "MyCryptoHeroes:SoulBoundHero",
                "type": "token",
                "symbol": "MCHSBH",
                "address": "0x0A2FE1629c74c16E8246aa224c46AD0EBAE7d17c"
            },
            {
                "name": "MyCryptoHeroes:Achievement",
                "type": "token",
                "symbol": "MCHA",
                "address": "0xa581DCb0F2747BEe6e7DCCa9bE8F04473BA0549D"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:34.151Z",
        "request_id": "ff432f95-f653-4027-a3c4-a89dff5a9434"
    },
    "status": "ok",
    "message": "Search results retrieved successfully",
    "success": true
}
```

### Meta

#### `GET /v1/meta` — Spec

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/mchverse-api/v1/meta"
```

**Response:**
```json
{
    "data": {
        "service": "mchverse-api",
        "endpoints": {
            "GET /v1/gas": "Gas oracle (slow/average/fast in gwei).",
            "GET /v1/meta": "This document.",
            "GET /v1/block": "Block detail by height= or hash=.",
            "GET /v1/stats": "Network stats (blocks, txns, coin price, market cap, gas).",
            "GET /v1/token": "ERC-20 token detail by contract (address=).",
            "GET /v1/blocks": "The most recent blocks.",
            "GET /v1/search": "Search addresses, tokens, blocks & txns (q=).",
            "GET /v1/address": "Address balance & contract info (address=).",
            "GET /v1/transaction": "Transaction detail (hash=)."
        },
        "description": "Live MCH Verse (OAS) Oasys gaming Verse on-chain data via Blockscout: network stats, a gas oracle (gwei), recent blocks and block detail, address balances, transaction detail, ERC-20 token detail and a universal search across addresses, tokens, blocks and transactions. Real on-chain data, no key."
    },
    "meta": {
        "timestamp": "2026-06-08T18:25:34.249Z",
        "request_id": "aec59494-c9a8-4401-a393-22d9761fb4f9"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


---
Marketplace page: https://www.oanor.com/api/mchverse-api
OpenAPI spec: https://www.oanor.com/api/mchverse-api/openapi.json
