# ShimmerEVM Chain API
> Live on-chain data for ShimmerEVM — the EVM chain of the IOTA/Shimmer network — via its public Blockscout explorer (no wallet, no key). The stats endpoint returns chain-wide totals (blocks, transactions, addresses, average block time, gas used); gas gives the current gas-price oracle (slow/average/fast). Blocks lists the latest blocks, and a single block resolves by height or by hash with its transaction count, gas, validator and timestamp. The address endpoint returns any account's SMR balance, nonce, contract flag and token holdings; transaction resolves a tx by hash with its from/to, value in SMR, fee, status and block. The token endpoint returns an ERC-20 token's metadata (name, symbol, decimals, total supply, holders) by contract address, and search runs a universal lookup across addresses, tokens, blocks and transactions. Gas, balances, values and fees are denominated in SMR, the native coin. Real on-chain data straight from the explorer, refreshed every call — no key. 9 endpoints. For multi-chain coverage combine with the other oanor chain APIs (Ethereum, Base, Arbitrum and more).

## 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/shimmer-api/..."
```

## Pricing
- **Free** (Free) — 4,000 calls/Mo, 2 req/s
- **Basic** ($26/Mo) — 124,000 calls/Mo, 8 req/s
- **Pro** ($79/Mo) — 740,000 calls/Mo, 20 req/s
- **Mega** ($265/Mo) — 4,150,000 calls/Mo, 50 req/s

## Endpoints

### Chain

#### `GET /v1/gas` — Gas-price oracle

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

**Response:**
```json
{
    "data": {
        "fast": 1000.21,
        "slow": 1000.21,
        "unit": "gwei",
        "average": 1000.21,
        "gas_used_today": "73176419"
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:22.239Z",
        "request_id": "4c2eff30-e31a-4ad0-af69-cebdf439f204"
    },
    "status": "ok",
    "message": "Gas retrieved successfully",
    "success": true
}
```

#### `GET /v1/stats` — Chain stats

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

**Response:**
```json
{
    "data": {
        "tvl_usd": 619973,
        "gas_prices": {
            "fast": 1000.21,
            "slow": 1000.21,
            "average": 1000.21
        },
        "total_blocks": 7973739,
        "coin_price_usd": 9.978e-5,
        "gas_used_today": "73176419",
        "market_cap_usd": 0,
        "total_addresses": "239757",
        "total_transactions": "10756686",
        "transactions_today": "2446",
        "network_utilization_percent": 0.012487814
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:22.403Z",
        "request_id": "0c1d3ad0-b5b2-438a-a6f1-63916b177da0"
    },
    "status": "ok",
    "message": "Stats retrieved successfully",
    "success": true
}
```

### Blocks

#### `GET /v1/block` — A block by height or hash

**Parameters:**
- `height` (query, optional, string) — Block height Example: `7973664`
- `hash` (query, optional, string) — Block hash (alternative to height)

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

**Response:**
```json
{
    "data": {
        "block": {
            "hash": "0x095e532044ab70d1b7a203a2b0ec08e8d72620eb725aa041ffed32c72236b11a",
            "size": 2965,
            "miner": "0x0000000000000000000000000000000000000000",
            "height": 7973664,
            "gas_used": 220176,
            "tx_count": 8,
            "gas_limit": 1000000000,
            "timestamp": "2026-06-08T06:07:40.000000Z",
            "burnt_fees": "0",
            "difficulty": "0",
            "base_fee_per_gas": null
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:22.603Z",
        "request_id": "1b762c11-94f2-4f07-823e-b152cfe7b2a6"
    },
    "status": "ok",
    "message": "Block retrieved successfully",
    "success": true
}
```

#### `GET /v1/blocks` — Latest blocks

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

**Response:**
```json
{
    "data": {
        "count": 50,
        "blocks": [
            {
                "hash": "0x0f4047b24db11f3b47c3bbef346cce9891274b8508d79d0e1caf0fb405a11087",
                "size": 2965,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 7973771,
                "gas_used": 220044,
                "tx_count": 8,
                "gas_limit": 1000000000,
                "timestamp": "2026-06-08T09:47:30.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0xad3ccd290d75296f6d85196695cc560cdc351746dd5f31c940a490ae289bb8cb",
                "size": 822,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 7973770,
                "gas_used": 27489,
                "tx_count": 1,
                "gas_limit": 1000000000,
                "timestamp": "2026-06-08T09:47:30.000000Z",
                "burnt_fees": "0",
                "difficulty": "0",
                "base_fee_per_gas": null
            },
            {
                "hash": "0x2fdc7476bf4fb972094e0874543b7772accd7a1929180b831a79ffc9ee418fb3",
                "size": 3577,
                "miner": "0x0000000000000000000000000000000000000000",
                "height": 7973769,
                "gas_used": 278281,
                "tx_count": 10,
                "gas_limit": 1000000000,
                
…(truncated, see openapi.json for full schema)
```

### Accounts

#### `GET /v1/address` — Account balance & holdings

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

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

**Response:**
```json
{
    "data": {
        "address": {
            "ens": null,
            "hash": "0x339d413CCEfD986b1B3647A9cfa9CBbE70A30749",
            "name": null,
            "token": null,
            "creator": null,
            "balance_smr": 930814.681972,
            "balance_wei": "930814681972000000000000",
            "is_contract": false,
            "is_verified": false
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:23.226Z",
        "request_id": "9923d543-fec0-4f2a-a458-9dbc1fe3f9f0"
    },
    "status": "ok",
    "message": "Address retrieved successfully",
    "success": true
}
```

### Transactions

#### `GET /v1/transaction` — A transaction by hash

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

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

**Response:**
```json
{
    "data": {
        "transaction": {
            "to": "0x3c2269811836af69497E5F486A85D7316753cf62",
            "from": "0x339d413CCEfD986b1B3647A9cfa9CBbE70A30749",
            "hash": "0xccaf6b649f2c9e54cff00884fde1c18a29f6f99e52e64842f39005b5a4745b00",
            "type": null,
            "block": 7973664,
            "nonce": 1398538,
            "method": "setPrice",
            "status": "ok",
            "fee_smr": 0.027537,
            "fee_wei": "27537000000000000",
            "gas_used": 27537,
            "gas_price": "1000000000000",
            "timestamp": "2026-06-08T06:07:40.000000Z",
            "value_smr": 0,
            "value_wei": "0",
            "confirmations": 108
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:23.606Z",
        "request_id": "ac89634e-8e3b-4e24-b27f-6619520ba03a"
    },
    "status": "ok",
    "message": "Transaction retrieved successfully",
    "success": true
}
```

### Tokens

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

**Parameters:**
- `address` (query, required, string) — Token contract address Example: `0xa4f8C7C1018b9dD3be5835bF00f335D9910aF6Bd`

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

**Response:**
```json
{
    "data": {
        "token": {
            "icon": "https://assets.coingecko.com/coins/images/35550/small/usdt.jpeg?1709102692",
            "name": "ShimmerBridge Bridged USDT (ShimmerEVM)",
            "type": "ERC-20",
            "symbol": "USDT",
            "holders": null,
            "decimals": 6,
            "total_supply": "110222884840",
            "exchange_rate_usd": 0.999068,
            "circulating_market_cap": "110120.13632889053"
        }
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:23.777Z",
        "request_id": "5ca533f3-88b1-4d8f-8185-45d0cdf79d4e"
    },
    "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: `USDT`

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

**Response:**
```json
{
    "data": {
        "count": 30,
        "query": "USDT",
        "results": [
            {
                "name": "ShimmerBridge Bridged USDT (ShimmerEVM)",
                "type": "token",
                "symbol": "USDT",
                "address": "0xa4f8C7C1018b9dD3be5835bF00f335D9910aF6Bd"
            },
            {
                "name": "ACCUMULATOR COMPOUNDER RECEIPT USDT-SMR",
                "type": "token",
                "symbol": "ACR-USDT-SMR",
                "address": "0x6b41A98EA742EcBa994D08C0c850242A5daFac90"
            },
            {
                "name": "Tether USD",
                "type": "token",
                "symbol": "USDT",
                "address": "0xc0E49f8C615d3d4c245970F6Dc528E4A47d69a44"
            },
            {
                "name": "USDT Token Testnet",
                "type": "token",
                "symbol": "USDT",
                "address": "0x156B04f6c2d4047C80264B245e3a3368CdD6A5fA"
            },
            {
                "name": "USDT Token Testnet",
                "type": "token",
                "symbol": "USDT",
                "address": "0x0B44507AB784A576B257395C205E028336fe0765"
            },
            {
                "name": "Tether USD",
                "type": "token",
                "symbol": "USDT",
                "address": "0x9D7d6a2F1a2a45B158D8a051cE1dB263d2806764"
            },
            {
                "name": "USDT",
                "type": "token",
                "sym
…(truncated, see openapi.json for full schema)
```

### Meta

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

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

**Response:**
```json
{
    "data": {
        "service": "shimmer-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, ENS & contract info (address=).",
            "GET /v1/transaction": "Transaction detail (hash=)."
        },
        "description": "Live ShimmerEVM on-chain data via Blockscout: network stats, a gas oracle (gwei), recent blocks and block detail, address balances with ENS, transaction detail, ERC-20 token detail and a universal search across addresses, tokens, blocks and transactions. ShimmerEVM is the EVM chain of the IOTA/Shimmer network; gas, balances and fees are in SMR. Real on-chain data, no key."
    },
    "meta": {
        "timestamp": "2026-06-08T09:49:24.292Z",
        "request_id": "f0f6bc93-810e-45a9-8c84-3399cc8a4917"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


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