State Batch
by EVM State Batch in Onchain & crypto
Read-only EVM state API for wallet snapshots, ERC-20 balances, token allowances, contract code, block heights, and bounded eth_call reads across Ethereum, Base, Arbitrum, Optimism, and Polygon. Fixed price: $0.15 USDC on Base for a batch of up to 100 checks. Only submitted checks run. Results are provider-reported RPC data, not cryptographic proofs.
https://evmstate.com/v1/state-batch/100- Price
- $0.15
- per call in USDC
- Uptime
- 0.0%
- last 30 days
- Response time
- -
- no timed checks yet
- Last check
- Failed
- 2 h ago, next any minute now
Reliability
Latest check failed 2 h ago: Served content without asking for payment
Status and outage history · Atom feed · Watch with other listings
How to call it
POST https://evmstate.com/v1/state-batch/100
Each call costs $0.15 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://evmstate.com/v1/state-batch/100
content-type: application/json
{
"checks": [
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "ethereum",
"id": "ethereum-native-balance",
"type": "native_balance"
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "base",
"id": "base-native-balance",
"type": "native_balance"
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "arbitrum",
"id": "arbitrum-native-balance",
"type": "native_balance"
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "optimism",
"id": "optimism-native-balance",
"type": "native_balance"
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "polygon",
"id": "polygon-native-balance",
"type": "native_balance"
}
],
"requestId": "12345678-1234-4234-9234-123456789abc"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
checks | array of object | Yes | Only these checks run. Each check needs a unique id and supported chain. For a five-chain wallet snapshot, create one native_balance check for each supported chain using the same wallet address. The discovery example uses the valid all-zero address; replace it with the target wallet. Token and allo… |
requestId | string | Yes | Generate a fresh UUIDv4 for each new request and retain it to recover the exact paid result. The Bazaar example UUID is illustrative; replace it before calling. |
Example response
The provider's example. We can't check it without paying.
Example response, 50 lines
{
"expiresAt": "2026-11-01T00:00:00.000Z",
"recoveryUrl": "https://evmstate.com/v1/results/12345678-1234-4234-9234-123456789abc",
"requestId": "12345678-1234-4234-9234-123456789abc",
"results": [
{
"blockNumber": "0x18e456e",
"chain": "ethereum",
"id": "ethereum-native-balance",
"type": "native_balance",
"value": "0x0"
},
{
"blockNumber": "0x31a5006",
"chain": "base",
"id": "base-native-balance",
"type": "native_balance",
"value": "0x0"
},
{
"blockNumber": "0x1e729abb",
"chain": "arbitrum",
"id": "arbitrum-native-balance",
"type": "native_balance",
"value": "0x0"
},
{
"blockNumber": "0x965919b",
"chain": "optimism",
"id": "optimism-native-balance",
"type": "native_balance",
"value": "0x0"
},
{
"blockNumber": "0x5a67efe",
"chain": "polygon",
"id": "polygon-native-balance",
"type": "native_balance",
"value": "0x0"
}
],
"snapshotBlocks": {
"arbitrum": "0x1e729abb",
"base": "0x31a5006",
"ethereum": "0x18e456e",
"optimism": "0x965919b",
"polygon": "0x5a67efe"
},
"verification": "each result is a successful JSON-RPC response"
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.15.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://evmstate.com/v1/state-batch/100' \
-H 'content-type: application/json' \
--data-raw '{"checks":[{"address":"0x0000000000000000000000000000000000000000","chain":"ethereum","id":"ethereum-native-balance","type":"native_balance"},{"address":"0x0000000000000000000000000000000000000000","chain":"base","id":"base-native-balance","type":"native_balance"},{"address":"0x0000000000000000000000000000000000000000","chain":"arbitrum","id":"arbitrum-native-balance","type":"native_balance"},{"address":"0x0000000000000000000000000000000000000000","chain":"optimism","id":"optimism-native-balance","type":"native_balance"},{"address":"0x0000000000000000000000000000000000000000","chain":"polygon","id":"polygon-native-balance","type":"native_balance"}],"requestId":"12345678-1234-4234-9234-123456789abc"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://evmstate.com/v1/state-batch/100' \
-H 'content-type: application/json' \
--data-raw '{"checks":[{"address":"0x0000000000000000000000000000000000000000","chain":"ethereum","id":"ethereum-native-balance","type":"native_balance"},{"address":"0x0000000000000000000000000000000000000000","chain":"base","id":"base-native-balance","type":"native_balance"},{"address":"0x0000000000000000000000000000000000000000","chain":"arbitrum","id":"arbitrum-native-balance","type":"native_balance"},{"address":"0x0000000000000000000000000000000000000000","chain":"optimism","id":"optimism-native-balance","type":"native_balance"},{"address":"0x0000000000000000000000000000000000000000","chain":"polygon","id":"polygon-native-balance","type":"native_balance"}],"requestId":"12345678-1234-4234-9234-123456789abc"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.15 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.15" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.15 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fevmstate.com%2Fv1%2Fstate-batch%2F100&method=POST
const res = await pay("https://evmstate.com/v1/state-batch/100", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"checks": [
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "ethereum",
"id": "ethereum-native-balance",
"type": "native_balance"
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "base",
"id": "base-native-balance",
"type": "native_balance"
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "arbitrum",
"id": "arbitrum-native-balance",
"type": "native_balance"
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "optimism",
"id": "optimism-native-balance",
"type": "native_balance"
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "polygon",
"id": "polygon-native-balance",
"type": "native_balance"
}
],
"requestId": "12345678-1234-4234-9234-123456789abc"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.15 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.15"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://evmstate.com/v1/state-batch/100",
json={
"checks": [
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "ethereum",
"id": "ethereum-native-balance",
"type": "native_balance",
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "base",
"id": "base-native-balance",
"type": "native_balance",
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "arbitrum",
"id": "arbitrum-native-balance",
"type": "native_balance",
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "optimism",
"id": "optimism-native-balance",
"type": "native_balance",
},
{
"address": "0x0000000000000000000000000000000000000000",
"chain": "polygon",
"id": "polygon-native-balance",
"type": "native_balance",
},
],
"requestId": "12345678-1234-4234-9234-123456789abc",
},
)
print(res.status_code, res.text)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 |
|---|---|---|---|---|
| 2 h ago | Served content without asking for payment | 200 | 401 ms | - |
| 6 h ago | Served content without asking for payment | 200 | 702 ms | - |
| 11 h ago | Served content without asking for payment | 200 | 598 ms | - |
| 17 h ago | Served content without asking for payment | 200 | 527 ms | - |
| 22 h ago | Served content without asking for payment | 200 | 449 ms | - |
Show 10 older checks
| 28 h ago | Served content without asking for payment | 200 | 437 ms | - |
| 34 h ago | Served content without asking for payment | 200 | 377 ms | - |
| 39 h ago | Served content without asking for payment | 200 | 603 ms | - |
| 44 h ago | Served content without asking for payment | 200 | 401 ms | - |
| 2 days ago | Served content without asking for payment | 200 | 475 ms | - |
| 2 days ago | Served content without asking for payment | 200 | 473 ms | - |
| 3 days ago | Served content without asking for payment | 200 | 554 ms | - |
| 3 days ago | Served content without asking for payment | 200 | 518 ms | - |
| 3 days ago | Served content without asking for payment | 200 | 444 ms | - |
| 3 days ago | Served content without asking for payment | 200 | 666 ms | - |