Skip to content
Fourohtwo

agents.204-168-199-108.sslip.io/v1/chain/abi-decode

Turn raw hex from eth_call / a contract read / event data into typed values. Give the output types ('uint112,uint112,uint32', tuples and arrays like '(address,uint256)[]' supported) or a signature with a returns part ('getReserves() returns (uint112 reserve0, uint112 reserve1, uint32 ts)'). Returns each value with its type and name (big integers as exact decimal strings, addresses checksummed) plu

BaseSolanaaws:baseAnswering
GEThttps://agents.204-168-199-108.sslip.io/v1/chain/abi-decode

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/chain/abi-decode?data=0x00000000000000000000000000000000000000000000000000000a8b3c9d2e100000000000000000000000000000000000000000000000d3c21bcecceda1000000000000000000000000000000000000000000000000000000000000006745f2a0&signature=getReserves%28%29+returns+%28uint112+reserve0%2C+uint112+reserve1%2C+uint32+blockTimestampLast%29");
console.log(await res.json());

Example input

{
  "data": "0x00000000000000000000000000000000000000000000000000000a8b3c9d2e100000000000000000000000000000000000000000000000d3c21bcecceda1000000000000000000000000000000000000000000000000000000000000006745f2a0",
  "signature": "getReserves() returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast)"
}