# Wallet Transaction History Lookup (Base)

> Wallet Transaction History Lookup (Base) is a paid API for AI agents from wallet-portfolio-history-mcp.mtree.workers.dev, paid per call via x402, $0.250000/call, status unknown (last checked 2026-09-15).

Returns recent transaction history for a Base wallet address, sourced from hosted D1 snapshots and Blockscout, to give agents pre-action context about wallet activity.

## Facts

- Endpoint: POST https://wallet-portfolio-history-mcp.mtree.workers.dev/tools/transaction_history
- Price: $0.250000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wallet-transaction-history-lookup-base-1c1e119a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RAC-AYASyrIRLd_va0YZQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability wallet-transaction-history-lookup-base-1c1e119a -d '<json body>'
```

Example prompt: Before I send funds to 0x4a2b...c3f1, pull the recent transaction history for that Base address so I can see what it's been doing on-chain.

## When to prefer this

Use this endpoint when an AI agent needs a quick, structured view of recent Base wallet activity before executing a transaction, approving a payment, or assessing counterparty trust. Prefer this over raw RPC calls when you need pre-formatted, agent-ready transaction context without building your own Blockscout integration.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Address not found or no transaction history available
- Snapshot data may be slightly stale if D1 hasn't refreshed
- Payment of 0.25 USDC not settled via x402 results in 402 response
- Network or worker timeout on Cloudflare edge

## How this service works

Recent wallet transaction history for Base addresses from hosted snapshots plus Blockscout provenance, designed for agent pre-action context. Price 0.25 USDC on Base via x402. Demo: https://wallet-portfolio-history-mcp.mtree.workers.dev/demo/tools/transaction_history. Contact: https://wallet-portfolio-history-mcp.mtree.workers.dev/contact.

## Output

A structured list of recent transactions for the queried Base wallet address, including counterparty addresses, method calls, value transfers, timestamps, and directional flow (inbound/outbound), sourced from hosted D1 snapshots with Blockscout provenance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "arbitrum",
        "optimism",
        "polygon"
       ],
       "type": "string"
      },
      "limit": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1
      },
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "refresh": {
       "type": "boolean"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallet-transaction-history-lookup-base-1c1e119a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from wallet-portfolio-history-mcp.mtree.workers.dev](https://www.zero.xyz/host/wallet-portfolio-history-mcp.mtree.workers.dev/llms.txt)
