Sonic block number

$0.01 per call · failed calls are never charged · no account needed: a card key or USDC

Latest block number and block details on Sonic, or any block by decimal number: hash, timestamp, transaction count, gas used and limit, base fee in gwei and producer. Use for timestamps and confirmation counts; for current fees use sonic_gas. A block that does not exist yet returns 422, uncharged.

Run it free (3 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

Block number, or 'latest' (default)

Uses one of your 3 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
numberstringBlock number, or 'latest' (default)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://lex.glyphcall.com/sonic/block?number=latest"

Or one of your 3 free calls, no key:

curl "https://lex.glyphcall.com/sonic/block?number=latest&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Live result

The real answer to the request above, read 2026-11-17 20:20 UTC and refreshed every 15 minutes.

{
  "chain": "Sonic",
  "chainId": 146,
  "number": 82721506,
  "hash": "0x605476b39f873a9165480424b3a5dc0a138c124e9d875e4377c335a2e608714e",
  "timestamp": "2026-11-17T20:20:45.000Z",
  "transactions": 1,
  "gasUsed": "1225388",
  "gasLimit": "5000000000",
  "baseFeeGwei": "50",
  "miner": "0x0000000000000000000000000000000000000000"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is sonic_block, and the first 25 successful calls are free:

https://lex.glyphcall.com/mcp

Related tools