transaction

Pack: blockstream-info · Endpoint: https://gateway.pipeworx.io/blockstream-info/mcp

Transaction details by txid.

Parameters

NameTypeRequiredDescription
txidstringyes
networkstringno

Example call

curl -X POST https://gateway.pipeworx.io/blockstream-info/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"transaction","arguments":{}}}'

Response shape

FieldTypeDescription
txidstringTransaction ID
versionnumberTransaction version
locktimenumberLock time
sizenumberTransaction size in bytes
weightnumberTransaction weight
feenumberTransaction fee in satoshis
vinarrayInput array
voutarrayOutput array
statusobjectTransaction confirmation status
Full JSON Schema
{
  "type": "object",
  "properties": {
    "txid": {
      "type": "string",
      "description": "Transaction ID"
    },
    "version": {
      "type": "number",
      "description": "Transaction version"
    },
    "locktime": {
      "type": "number",
      "description": "Lock time"
    },
    "size": {
      "type": "number",
      "description": "Transaction size in bytes"
    },
    "weight": {
      "type": "number",
      "description": "Transaction weight"
    },
    "fee": {
      "type": "number",
      "description": "Transaction fee in satoshis"
    },
    "vin": {
      "type": "array",
      "description": "Input array",
      "items": {
        "type": "object",
        "properties": {
          "txid": {
            "type": "string",
            "description": "Input TXID"
          },
          "vout": {
            "type": "number",
            "description": "Output index"
          },
          "scriptsig": {
            "type": "string",
            "description": "Script signature"
          },
          "sequence": {
            "type": "number",
            "description": "Sequence number"
          },
          "witness": {
            "type": "array",
            "description": "Witness data"
          }
        }
      }
    },
    "vout": {
      "type": "array",
      "description": "Output array",
      "items": {
        "type": "object",
        "properties": {
          "scriptpubkey": {
            "type": "string",
            "description": "Script pubkey"
          },
          "scriptpubkey_asm": {
            "type": "string",
            "description": "Script pubkey assembly"
          },
          "scriptpubkey_type": {
            "type": "string",
            "description": "Script pubkey type"
          },
          "scriptpubkey_address": {
            "type": "string",
            "description": "Script pubkey address"
          },
          "value": {
            "type": "number",
            "description": "Output value in satoshis"
          }
        }
      }
    },
    "status": {
      "type": "object",
      "description": "Transaction confirmation status",
      "properties": {
        "confirmed": {
          "type": "boolean",
          "description": "Is transaction confirmed"
        },
        "block_height": {
          "type": "number",
          "description": "Block height of confirmation"
        },
        "block_hash": {
          "type": "string",
          "description": "Block hash of confirmation"
        },
        "block_time": {
          "type": "number",
          "description": "Block time of confirmation"
        }
      }
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "blockstream-info": {
      "url": "https://gateway.pipeworx.io/blockstream-info/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026