Skip to content
Fourohtwo

Eth call, Unichain contract call

agent-data-tools.revmesh2074.workers.dev/unichain/call

Eth call, Unichain contract call. Read-only contract call on Unichain (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 t

BasePolygonArbitrumSolanaAnswering
GEThttps://agent-data-tools.revmesh2074.workers.dev/unichain/call

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/unichain/call?data=0x18160ddd&to=0x078D782b760474a361dDA0AF3839290b0EF57AD6");
console.log(await res.json());

Example input

{
  "data": "0x18160ddd",
  "to": "0x078D782b760474a361dDA0AF3839290b0EF57AD6"
}