Eth call, Optimism contract call
agent-data-tools.revmesh2074.workers.dev/op/call
Eth call, Optimism contract call. Read-only contract call on Optimism (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
GET
https://agent-data-tools.revmesh2074.workers.dev/op/callUptime100% 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/op/call?data=0x18160ddd&to=0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85");
console.log(await res.json());Example input
{
"data": "0x18160ddd",
"to": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85"
}