# Tinkrr Bitcoin Transaction Decoder

> Tinkrr Bitcoin Transaction Decoder is a paid API for AI agents from tinkrr-api.tinkrr.workers.dev, paid per call via x402, $0.009/call, status unknown (last checked 2026-09-15).

Decodes and structurally analyzes a raw Bitcoin transaction, returning parsed inputs, outputs, sizing, economics, and summary fields.

## Facts

- Endpoint: POST https://tinkrr-api.tinkrr.workers.dev/btc/tx/decode
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tinkrr-bitcoin-transaction-decoder-cc126d2b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KFzgsBl_l2uPGAdm0qCML

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 tinkrr-bitcoin-transaction-decoder-cc126d2b -d '<json body>'
```

Example prompt: Can you decode and break down this Bitcoin transaction for me — txid a1b2c3d4e5f6... — I want to see the inputs, outputs, sizing, and fee economics?

## When to prefer this

Choose this endpoint when you need a detailed structural and economic decomposition of a specific Bitcoin transaction — inputs, outputs, sizing, and fees — rather than just a fee estimate or address risk score. Ideal when an agent needs to programmatically understand what a transaction contains, verify its structure, or extract economic metadata from a known txid.

## Known failure modes

- Invalid or malformed txid returns an error response
- Transaction not found on-chain returns 404 or null result
- Malformed input schema causes a 400 validation error
- Network issues reaching Bitcoin node return 5xx errors
- Unconfirmed/mempool transactions may have incomplete data

## How this service works

Bitcoin transaction decoder and structural analysis

## Output

A structured breakdown of the Bitcoin transaction including parsed inputs array, outputs array, sizing metrics (byte count, weight, vsize), an economics object (fees, fee rate, value transferred), and a summary object — all derived from the given txid or raw transaction data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "txid": {
   "type": "string",
   "description": "64-char transaction ID"
  },
  "rawHex": {
   "type": "string",
   "description": "Raw transaction hex"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tinkrr-bitcoin-transaction-decoder-cc126d2b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tinkrr-api.tinkrr.workers.dev](https://www.zero.xyz/host/tinkrr-api.tinkrr.workers.dev/llms.txt)
