81trust / 100
Chain Storage
by Contract storage slot in Documents & files
x402 APIPassing, checked 3 h ago
Read one 32-byte storage slot from a contract, the raw state under whatever the source code calls it. Returns the word as hex plus three readings of the same bytes - unsigned integer, address (low 20 bytes) and boolean - because a slot is untyped on chain and only the caller knows which it meant. Useful for proxy implementation slots, paused flags and any value the ABI does not expose. EVM chains: ethereum, base, polygon, arbitrum, optimism.
GET https://agent402.tools/api/chain/storage
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 197 ms typical, 234 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://agent402.tools/api/chain/storage?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&network=base&slot=0x0"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fchain%2Fstorage
const res = await pay("https://agent402.tools/api/chain/storage?address=0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913&network=base&slot=0x0");
console.log(await res.json());Example input
{
"address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"network": "base",
"slot": "0x0"
}Example output
{
"address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"asAddress": "0x0000000000000000000000000000000000000001",
"asBool": true,
"asUint": "1",
"block": "latest",
"network": "base",
"slot": "0x0",
"value": "0x0000000000000000000000000000000000000000000000000000000000000001"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 234 ms | $0.001 |
| 6 h ago | Passed | 402 | 186 ms | $0.001 |
| 10 h ago | Passed | 402 | 186 ms | $0.001 |
| 14 h ago | Passed | 402 | 189 ms | $0.001 |
| 17 h ago | Passed | 402 | 204 ms | $0.001 |
| 22 h ago | Passed | 402 | 197 ms | $0.001 |
| 25 h ago | Passed | 402 | 219 ms | $0.001 |
| 28 h ago | Passed | 402 | 193 ms | $0.001 |
| 33 h ago | Passed | 402 | 639 ms | $0.001 |