# chainquery combinerawtransaction

> chainquery combinerawtransaction is a paid API for AI agents from x402.chainquery.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Combines multiple partially-signed raw Bitcoin transactions into a single fully-signed transaction using Bitcoin Core's combinerawtransaction RPC

## Facts

- Endpoint: GET https://x402.chainquery.com/v1/rpc/combinerawtransaction
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chainquery-combinerawtransaction-ee7e6b96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ydyzBIN5TiyZonOgrohCE

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-combinerawtransaction-ee7e6b96
```

Example prompt: I have two partially-signed raw Bitcoin transaction hex strings from different co-signers and I need to combine them into one fully-signed transaction — can you call combinerawtransaction with these two hex strings as the params array?

## When to prefer this

Use this endpoint when you have multiple partially-signed raw Bitcoin transactions (from different co-signers in a multisig setup) and need to merge them into a single fully-signed transaction, without needing an API key — paying only $0.005 USDC per call via x402

## Known failure modes

- Missing or malformed params array results in RPC error
- Transactions that do not share the same inputs/outputs cannot be combined and return an error
- Providing non-hex or invalid raw transaction strings returns a parse error
- Insufficient signatures to produce a fully valid transaction returns an incomplete result
- Payment of $0.005 USDC not fulfilled results in HTTP 402 rejection before RPC execution

## How this service works

chainquery Bitcoin RPC: pay-per-call Bitcoin Core over x402, no API key. Combine partially-signed raw transactions into one fully-signed transaction. Bitcoin Core combinerawtransaction.

## Output

Returns the Bitcoin Core combinerawtransaction result: a hex-encoded fully-signed raw transaction that merges the signatures from all provided partially-signed transactions

## 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": "combinerawtransaction result"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chainquery-combinerawtransaction-ee7e6b96/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)
