# chainquery verifytxoutproof — Bitcoin Merkle Proof Verifier

> chainquery verifytxoutproof — Bitcoin Merkle Proof Verifier is a paid API for AI agents from x402.chainquery.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Verifies a merkle proof that a specific transaction is included in a Bitcoin block, using chainquery's independent full node via Bitcoin Core's verifytxoutproof RPC

## Facts

- Endpoint: GET https://x402.chainquery.com/v1/rpc/verifytxoutproof
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainquery-verifytxoutproof-bitcoin-merkle-proof-verifier-c70776ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rCCToa-vxw4JuAoK9Sx6b

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 chainquery-verifytxoutproof-bitcoin-merkle-proof-verifier-c70776ae
```

Example prompt: Can you verify this Bitcoin merkle proof to confirm the transaction is actually included in its block? Pass this proof hex as the params to the chainquery verifytxoutproof RPC call.

## When to prefer this

Use this endpoint when you need to cryptographically verify that a Bitcoin transaction is included in a block using a merkle proof, especially when you want an independent full-node verification without managing your own Bitcoin Core instance or API keys. Ideal for trustless proof validation workflows.

## Known failure modes

- Invalid or malformed merkle proof hex returns an RPC error
- Transaction not found in the referenced block returns empty or error result
- Payment not included or insufficient USDC balance blocks access with HTTP 402
- Malformed JSON params array returns input validation error
- Node temporarily unavailable returns HTTP 5xx

## How this service works

chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Verify a merkle proof that a transaction is included in a block, via chainquery's independent full node. Bitcoin Core verifytxoutproof.

## Output

Returns an array of transaction IDs that were verified as included in the block according to the merkle proof. If the proof is invalid or the transaction is not found, an error is returned.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "params": {
       "type": "string",
       "description": "optional: JSON-encoded array of positional RPC params"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "description": "verifytxoutproof result"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainquery-verifytxoutproof-bitcoin-merkle-proof-verifier-c70776ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.chainquery.com](https://www.zero.xyz/host/x402.chainquery.com/llms.txt)
