16trust / 100

State Batch

by EVM State Batch in Onchain & crypto

x402 APIFailing, checked 3 h ago

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.05 USDC on Base for a batch of up to 25 checks. Only submitted checks run. Results are provider-reported RPC data, not cryptographic proofs.

POST
https://evmstate.com/v1/state-batch
Price
$0.05
per call in USDC
Uptime
0.0%
last 30 days
Response time
-
no timed checks yet
Last check
Failed
3 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 3 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

Each call costs $0.05 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
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

ParameterTypeRequiredDescription
checksarray of objectYesOnly 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…
requestIdstringYesGenerate 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, 159 lines
{
  "expiresAt": "2026-11-01T00:00:00.000Z",
  "recoveryUrl": "https://evmstate.com/v1/results/12345678-1234-4234-9234-123456789abc",
  "requestChecks": [
    {
      "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",
  "results": [
    {
      "blockNumber": "0x18e456e",
      "blockNumberDecimal": "26101102",
      "chain": "ethereum",
      "check": {
        "address": "0x0000000000000000000000000000000000000000",
        "chain": "ethereum",
        "id": "ethereum-native-balance",
        "type": "native_balance"
      },
      "id": "ethereum-native-balance",
      "interpretation": {
        "amount": "1",
        "baseUnits": "1000000000000000000",
        "decimals": 18,
        "kind": "native_balance",
        "unit": "ETH"
      },
      "type": "native_balance",
      "value": "0xde0b6b3a7640000"
    },
    {
      "blockNumber": "0x31a5006",
      "blockNumberDecimal": "52056070",
      "chain": "base",
      "check": {
        "address": "0x0000000000000000000000000000000000000000",
        "chain": "base",
        "id": "base-native-balance",
        "type": "native_balance"
      },
      "id": "base-native-balance",
      "interpretation": {
        "amount": "0",
        "baseUnits": "0",
        "decimals": 18,
        "kind": "native_balance",
        "unit": "ETH"
      },
      "type": "native_balance",
      "value": "0x0"
    },
    {
      "blockNumber": "0x1e729abb",
      "blockNumberDecimal": "510827195",
      "chain": "arbitrum",
      "check": {
        "address": "0x0000000000000000000000000000000000000000",
        "chain": "arbitrum",
        "id": "arbitrum-native-balance",
        "type": "native_balance"
      },
      "id": "arbitrum-native-balance",
      "interpretation": {
        "amount": "0",
        "baseUnits": "0",
        "decimals": 18,
        "kind": "native_balance",
        "unit": "ETH"
      },
      "type": "native_balance",
      "value": "0x0"
    },
    {
      "blockNumber": "0x965919b",
      "blockNumberDecimal": "157651355",
      "chain": "optimism",
      "check": {
        "address": "0x0000000000000000000000000000000000000000",
        "chain": "optimism",
        "id": "optimism-native-balance",
        "type": "native_balance"
      },
      "id": "optimism-native-balance",
      "interpretation": {
        "amount": "0",
        "baseUnits": "0",
        "decimals": 18,
        "kind": "native_balance",
        "unit": "ETH"
      },
      "type": "native_balance",
      "value": "0x0"
    },
    {
      "blockNumber": "0x5a67efe",
      "blockNumberDecimal": "94797566",
      "chain": "polygon",
      "check": {
        "address": "0x0000000000000000000000000000000000000000",
        "chain": "polygon",
        "id": "polygon-native-balance",
        "type": "native_balance"
      },
      "id": "polygon-native-balance",
      "interpretation": {
        "amount": "0",
        "baseUnits": "0",
        "decimals": 18,
        "kind": "native_balance",
        "unit": "POL"
      },
      "type": "native_balance",
      "value": "0x0"
    }
  ],
  "snapshotBlocks": {
    "arbitrum": "0x1e729abb",
    "base": "0x31a5006",
    "ethereum": "0x18e456e",
    "optimism": "0x965919b",
    "polygon": "0x5a67efe"
  },
  "snapshotBlocksDecimal": {
    "arbitrum": "510827195",
    "base": "52056070",
    "ethereum": "26101102",
    "optimism": "157651355",
    "polygon": "94797566"
  },
  "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.05.

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' \
  -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' \
  -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 --decode
JavaScript: 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.05 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.05" });
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.05 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fevmstate.com%2Fv1%2Fstate-batch&method=POST
const res = await pay("https://evmstate.com/v1/state-batch", {
  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.05 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.05"})
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",
        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

WhenResultHTTPTimePrice
3 h agoServed content without asking for payment200368 ms-
7 h agoServed content without asking for payment200678 ms-
12 h agoServed content without asking for payment200460 ms-
18 h agoServed content without asking for payment200475 ms-
24 h agoServed content without asking for payment200378 ms-
Show 10 older checks
29 h agoServed content without asking for payment200658 ms-
35 h agoServed content without asking for payment200888 ms-
41 h agoServed content without asking for payment200486 ms-
46 h agoServed content without asking for payment200537 ms-
2 days agoServed content without asking for payment200509 ms-
2 days agoServed content without asking for payment200474 ms-
3 days agoServed content without asking for payment200468 ms-
3 days agoServed content without asking for payment200530 ms-
3 days agoServed content without asking for payment200848 ms-
3 days agoServed content without asking for payment200589 ms-