Eth call, Sonic contract call

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

Read-only contract call on Sonic (eth_call) at the latest block, without a transaction or gas: send ABI-encoded calldata, or a function signature such as balanceOf(address) with args and the call is encoded and its result decoded for you. Use to read any view function that has no dedicated tool (the example reads USDC totalSupply). Calldata up to 8 KB; a call that reverts is 422 with the reason, uncharged.

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

Try it with your own inputs

0x contract address to call
0x ABI-encoded calldata (4-byte selector plus arguments), or a function signature: totalSupply(),…

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

Inputs

NameTypeDescription
to (required)string0x contract address to call
data (required)string0x ABI-encoded calldata (4-byte selector plus arguments), or a function signature: totalSupply(), balanceOf(address), or with its result types, balanceOf(address) returns (uint256)
argsstringArguments for a function signature in data: comma separated, or a JSON array for arrays and tuples
returnsstringResult types to decode when data is a signature without them, for example uint256 or address,uint8
fromstringOptional 0x sender address for calls that check msg.sender

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://glyphcall.com/sonic/call?to=0x29219dd400f2Bf60E5a23d13Be72B486D4038894&data=0x18160ddd"

Or one of your 3 free calls, no key:

curl "https://glyphcall.com/sonic/call?to=0x29219dd400f2Bf60E5a23d13Be72B486D4038894&data=0x18160ddd&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.

Example result

{
  "chain": "Sonic",
  "chainId": 146,
  "to": "0x29219dd400f2Bf60E5a23d13Be72B486D4038894",
  "data": "0x18160ddd",
  "result": "0x00000000000000000000000000000000000000000000000000038d7ea4c68000",
  "resultBytes": 32,
  "block": 123456789
}

From an AI agent (MCP)

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

https://glyphcall.com/mcp

Related tools