{
  "id": "onchain_wallet_snapshot",
  "name": "On-Chain Wallet Snapshot",
  "version": 1,
  "description": "Returns a single, verifiable snapshot of any EVM wallet: native balance, ERC-20 token balances, current block number, and recent activity count across the most popular chains (Ethereum, Base, Arbitrum, Polygon). Built for x402 agents that need on-chain facts without managing RPC keys or node infrastructure. Each call returns a deterministic JSON payload with a chain-specific block number at snapshot time so results can be independently verified against a public RPC or block explorer.",
  "price_usd": 0.01,
  "pricing": {
    "model": "fixed",
    "usd": 0.01
  },
  "capabilities": [
    "onchain-wallet-balance",
    "erc20-token-balances",
    "evm-multichain-snapshot",
    "block-number-lookup",
    "wallet-activity-summary",
    "rpc-proxy"
  ],
  "input_schema": {
    "type": "object",
    "additionalProperties": false,
    "required": [
      "address"
    ],
    "properties": {
      "address": {
        "type": "string",
        "pattern": "^0x[a-fA-F0-9]{40}$",
        "description": "EVM 0x-prefixed wallet address"
      },
      "chain": {
        "type": "string",
        "enum": [
          "ethereum",
          "base",
          "arbitrum",
          "polygon"
        ],
        "default": "ethereum",
        "description": "Target chain"
      },
      "include_tokens": {
        "type": "boolean",
        "default": true,
        "description": "Include ERC-20 balances for well-known tokens"
      }
    }
  },
  "output_schema": {
    "type": "object",
    "additionalProperties": false,
    "required": [
      "address",
      "chain",
      "block_number",
      "native_balance",
      "tokens",
      "snapshot_at"
    ],
    "properties": {
      "address": {
        "type": "string"
      },
      "chain": {
        "type": "string"
      },
      "block_number": {
        "type": "integer",
        "description": "Chain head block at snapshot time"
      },
      "native_balance": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "symbol",
          "wei",
          "formatted"
        ],
        "properties": {
          "symbol": {
            "type": "string"
          },
          "wei": {
            "type": "string"
          },
          "formatted": {
            "type": "string"
          }
        }
      },
      "tokens": {
        "type": "array",
        "items": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "symbol",
            "address",
            "raw",
            "formatted"
          ],
          "properties": {
            "symbol": {
              "type": "string"
            },
            "address": {
              "type": "string"
            },
            "raw": {
              "type": "string"
            },
            "formatted": {
              "type": "string"
            }
          }
        }
      },
      "tx_count": {
        "type": [
          "integer",
          "null"
        ],
        "description": "Transaction count (nonce) of the address"
      },
      "snapshot_at": {
        "type": "string",
        "format": "date-time"
      }
    }
  },
  "max_runtime_seconds": 30,
  "endpoint": "https://openworker.etips.me/api/services/onchain_wallet_snapshot",
  "sellable": true,
  "payments_configured": true
}