{
  "$comment": "GENERATED FROM api/_tools/<slug>/route.mjs — do not edit by hand",
  "type": "https://eips.ethereum.org/EIPS/eip-8257#tool-manifest-v1",
  "name": "wallet-action-ledger",
  "description": "Recent Base wallet action receipt for agents. Summarizes the latest transactions by direction, failed count, contract calls, token-transfer transactions, top methods and counterparties, gas/value totals, and per-transaction Blockscout evidence links. Powered by Blockscout. 5min cache. $0.02 USDC per call; AXIOM Tool Pass holders get free access.",
  "endpoint": "https://www.clawbots.org/api/tools/wallet-action-ledger",
  "image": "https://www.clawbots.org/tools/icons/wallet-action-ledger.png",
  "featuredImage": "https://www.clawbots.org/tools/featured/wallet-action-ledger.png",
  "inputs": {
    "type": "object",
    "properties": {
      "address": {
        "type": "string",
        "description": "Base wallet address to summarize (0x...).",
        "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "limit": {
        "type": "integer",
        "description": "Number of recent transactions to inspect, 1–50. Defaults to 25.",
        "default": 25,
        "minimum": 1,
        "maximum": 50
      }
    },
    "required": [
      "address"
    ],
    "additionalProperties": false
  },
  "outputs": {
    "type": "object",
    "properties": {
      "address": {
        "type": "string",
        "description": "Normalized Base wallet address."
      },
      "chain": {
        "type": "string",
        "description": "Always 'base'."
      },
      "fetchedAt": {
        "type": "string",
        "format": "date-time"
      },
      "requestedLimit": {
        "type": "integer",
        "description": "Capped transaction limit used for the lookup."
      },
      "returnedCount": {
        "type": "integer",
        "description": "Number of recent transactions returned by Blockscout."
      },
      "blockscoutUrl": {
        "type": "string",
        "description": "Human-readable Base Blockscout wallet page."
      },
      "summary": {
        "type": "object",
        "description": "Direction, failure, method, counterparty, value, and fee summary."
      },
      "latestActions": {
        "type": "array",
        "items": {
          "type": "object"
        },
        "description": "Recent transaction receipts with Blockscout URLs."
      },
      "evidence": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Upstream URLs used for this lookup."
      }
    },
    "required": [
      "address",
      "chain",
      "fetchedAt",
      "requestedLimit",
      "returnedCount",
      "blockscoutUrl",
      "summary",
      "latestActions",
      "evidence"
    ]
  },
  "creatorAddress": "0xef2cc7d15d3421629f93ffa39727f14179f31c75",
  "tags": [
    "base",
    "wallet",
    "transactions",
    "receipt",
    "activity",
    "preflight",
    "blockscout"
  ],
  "pricing": [
    {
      "amount": "0.02",
      "asset": "USDC",
      "recipient": "0xef2cc7d15d3421629f93ffa39727f14179f31c75",
      "protocol": "x402"
    }
  ],
  "authentication": [
    {
      "type": "siwe",
      "description": "Sign In With Ethereum. Holders of the Axiom Tool Pass NFT get free unlimited access. Sign a SIWE message proving wallet ownership; the server verifies your wallet holds the pass on-chain.",
      "header": "Authorization: SIWE <base64url(message)>.<0xsignature>",
      "passContract": "0xfc9ce3990f85fA1A3a0eE51a710642396a6Cad82",
      "chain": "base",
      "chainId": 8453,
      "collection": "https://opensea.io/collection/axiom-tool-pass"
    },
    {
      "type": "x402",
      "description": "Pay per call in USDC on Base via the x402 protocol. No account or API key needed.",
      "header": "x-payment: <x402 authorization>"
    }
  ],
  "onChain": {
    "registry": "0x265BB2DBFC0A8165C9A1941Eb1372F349baD2cf1",
    "chainId": 8453,
    "toolId": 309
  }
}
