Skip to content
Fourohtwo

Use when an agent needs a raw storage value of a contract

api.zato.org/api/chain/storage

Use when an agent needs a raw storage value of a contract - e.g. a proxy slot, an owner or a packed variable: eth_getStorageAt for a slot (decimal or hex) at the latest block on Ethereum (default) or Base, plus the value as uint256 and as address.

BaseAnswering
GEThttps://api.zato.org/api/chain/storage

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://api.zato.org/api/chain/storage?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&network=base&slot=0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3");
console.log(await res.json());

Example input

{
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "network": "base",
  "slot": "0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3"
}

More from api.zato.orgProvider status