Crypto Analysis & Developer Tools · x402 V2

Bitcoin Transaction Decode

Use this service when you need this capability: decode a bounded supplied raw Bitcoin transaction into version, inputs, outputs, witness, and locktime.

Price and endpoint

LivePOSTBase USDC

0.015 USDC per call

x402 V2 exact payment on Base mainnet (eip155:8453) using USDC. The HTTP 402 challenge confirms the exact requirements before an authorized payment.

POST https://signalharness.ai/api/agent/services/bitcoin_transaction_decode/invoke

Purpose

Decode a bounded supplied raw Bitcoin transaction into version, inputs, outputs, witness, and locktime.

Caller-supplied data is processed deterministically. These tools do not supply live market feeds, query blockchain RPC, host AI models, or verify that supplied history is complete. Payment remains Base USDC for every chain category.

Inputs

Request fields and validation limits
FieldTypeRequiredLimits
bitcoin_transaction_requeststringRequiredMinimum length 2; Maximum length 65536

Example request body

{
  "bitcoin_transaction_request": "{\"raw_transaction\":\"0x01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff00ffffffff01e803000000000000015100000000\"}"
}
View complete input schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 1,
  "maxProperties": 1,
  "required": [
    "bitcoin_transaction_request"
  ],
  "properties": {
    "bitcoin_transaction_request": {
      "type": "string",
      "minLength": 2,
      "maxLength": 65536
    }
  }
}

Realistic output shape

Illustrative output from the canonical adapter fixture and schema. It is not a completed paid execution or a current live observation.

{
  "service_id": "bitcoin_transaction_decode",
  "evidence_scope": "caller_supplied_data",
  "decoded_bitcoin_transaction": "{\"input_count\":1,\"inputs\":[{\"script_sig\":\"\",\"sequence\":4294967295,\"txid\":\"0000000000000000000000000000000000000000000000000000000000000000\",\"vout\":4294967295,\"witness\":[]}],\"locktime\":0,\"output_count\":1,\"outputs\":[{\"script_pub_key\":\"51\",\"script_type\":\"unknown_or_nonstandard\",\"value_sats\":\"1000\"}],\"segwit\":false,\"version\":1}",
  "warnings": [
    "Decoding does not verify signatures, scripts, inclusion, or UTXO availability."
  ]
}
View complete output schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "additionalProperties": false,
  "minProperties": 4,
  "maxProperties": 4,
  "required": [
    "service_id",
    "evidence_scope",
    "decoded_bitcoin_transaction",
    "warnings"
  ],
  "properties": {
    "service_id": {
      "type": "string",
      "const": "bitcoin_transaction_decode",
      "minLength": 26,
      "maxLength": 26
    },
    "evidence_scope": {
      "type": "string",
      "const": "caller_supplied_data",
      "minLength": 20,
      "maxLength": 20
    },
    "decoded_bitcoin_transaction": {
      "type": "string",
      "minLength": 1,
      "maxLength": 65536
    },
    "warnings": {
      "type": "array",
      "minItems": 1,
      "maxItems": 8,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 512
      }
    }
  }
}

Execution limits

  • MaxInputBytes: 131072
  • MaxOutputBytes: 131072
  • MaxConcurrentExecutions: 2
  • MaxArtifacts: 0
  • MaxArtifactBytes: 0
  • RateLimitPerMinute: 30
  • MaxNodes: 10000

Timeout: 5000 ms. Full schemas are in OpenAPI.

Copyable unpaid request

This schema-valid request returns the canonical HTTP 402 challenge without executing the service. A payment-capable client validates the challenge, signs only with prior authority and budget, and retries the identical body.

curl -i -X POST https://signalharness.ai/api/agent/services/bitcoin_transaction_decode/invoke \
  -H "Content-Type: application/json" \
  --data '{"bitcoin_transaction_request":"{\"raw_transaction\":\"0x01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff00ffffffff01e803000000000000015100000000\"}"}'

Continue with the paid-call walkthrough →