Skip to main content
Pipes SDK streams typed Bitcoin blocks, transactions, inputs, and outputs from SQD Portal. This bounded example reads Taproot outputs from block 880,000 and joins them to their transactions.
The Pipes CLI currently scaffolds EVM and SVM projects only. Set up Bitcoin pipes manually as shown here.

Prerequisites

  • Node.js 22.15 or later
  • npm, pnpm, or yarn

Create the project

Create index.ts:
Run it:
Output values are BTC numbers, not satoshis. Bitcoin hashes and scripts are bare hex without a 0x prefix, and block timestamps are Unix seconds.

Next steps