npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@velocity-bpa/n8n-nodes-bitcoin

v1.0.0

Published

n8n community node to interact with Bitcoin blockchain data via Blockstream API

Downloads

126

Readme

n8n-nodes-bitcoin

[Velocity BPA Licensing Notice]

This n8n node is licensed under the Business Source License 1.1 (BSL 1.1).

Use of this node by for-profit organizations in production environments requires a commercial license from Velocity BPA.

For licensing information, visit https://velobpa.com/licensing or contact [email protected].

A comprehensive n8n community node for Bitcoin blockchain operations, providing access to 5 core resources including addresses, transactions, blocks, mempool, and fee estimation. Query Bitcoin network data, track transactions, analyze blockchain activity, and integrate Bitcoin data into your automation workflows with full API coverage.

n8n Community Node License TypeScript Bitcoin Blockchain Cryptocurrency

Features

  • Address Operations - Query address balances, transaction history, and UTXO sets
  • Transaction Management - Retrieve transaction details, broadcast raw transactions, and track confirmations
  • Block Information - Access block data, headers, and blockchain statistics
  • Mempool Monitoring - Real-time mempool analysis and pending transaction tracking
  • Fee Estimation - Dynamic fee calculation for optimal transaction pricing
  • Multi-Network Support - Compatible with Bitcoin mainnet and testnet
  • Rate Limiting - Built-in request throttling for API compliance
  • Error Recovery - Comprehensive error handling with retry mechanisms

Installation

Community Nodes (Recommended)

  1. Open n8n
  2. Go to SettingsCommunity Nodes
  3. Click Install a community node
  4. Enter n8n-nodes-bitcoin
  5. Click Install

Manual Installation

cd ~/.n8n
npm install n8n-nodes-bitcoin

Development Installation

git clone https://github.com/Velocity-BPA/n8n-nodes-bitcoin.git
cd n8n-nodes-bitcoin
npm install
npm run build
mkdir -p ~/.n8n/custom
ln -s $(pwd) ~/.n8n/custom/n8n-nodes-bitcoin
n8n start

Credentials Setup

| Field | Description | Required | |-------|-------------|----------| | API Key | Your Bitcoin API service key | Yes | | Network | Bitcoin network (mainnet/testnet) | Yes | | Base URL | Custom API endpoint (optional) | No |

Resources & Operations

1. Address

| Operation | Description | |-----------|-------------| | Get Balance | Retrieve confirmed and unconfirmed balance for an address | | Get Transaction History | List all transactions for a specific address | | Get UTXO | Get unspent transaction outputs for an address | | Validate Address | Check if a Bitcoin address is valid |

2. Transaction

| Operation | Description | |-----------|-------------| | Get Transaction | Retrieve detailed transaction information by hash | | Get Raw Transaction | Get raw transaction data in hex format | | Broadcast Transaction | Submit a signed raw transaction to the network | | Get Transaction Status | Check confirmation status and block inclusion |

3. Block

| Operation | Description | |-----------|-------------| | Get Block | Retrieve block information by hash or height | | Get Block Header | Get block header data only | | Get Latest Block | Fetch the most recent block | | Get Block Transactions | List all transactions in a specific block |

4. Mempool

| Operation | Description | |-----------|-------------| | Get Mempool Info | Retrieve current mempool statistics | | Get Mempool Transactions | List pending transactions in mempool | | Get Transaction Ancestors | Find parent transactions of a mempool transaction | | Get Transaction Descendants | Find child transactions of a mempool transaction |

5. Fee

| Operation | Description | |-----------|-------------| | Estimate Fee | Calculate recommended fee for transaction confirmation | | Get Fee Rate | Get current fee rates per byte | | Get Fee History | Historical fee rate data | | Smart Fee Estimate | AI-powered fee estimation for target confirmation time |

Usage Examples

// Get Bitcoin address balance
{
  "address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
  "include_unconfirmed": true
}
// Retrieve transaction details
{
  "transaction_hash": "4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b",
  "include_hex": true
}
// Get latest block information
{
  "include_transactions": false,
  "verbosity": 2
}
// Estimate transaction fee
{
  "target_blocks": 6,
  "transaction_size": 250,
  "priority": "medium"
}

Error Handling

| Error | Description | Solution | |-------|-------------|----------| | Invalid Address | Bitcoin address format is incorrect | Verify address format and network compatibility | | Transaction Not Found | Transaction hash does not exist | Check transaction hash and network selection | | API Rate Limited | Too many requests to Bitcoin API | Implement delays or upgrade API plan | | Network Timeout | Bitcoin node connection failed | Retry request or check node availability | | Insufficient Funds | Address balance too low for operation | Verify address has required Bitcoin amount | | Invalid Transaction | Raw transaction format incorrect | Validate transaction hex and signatures |

Development

npm install
npm run build
npm test
npm run lint
npm run dev

Author

Velocity BPA

Licensing

This n8n community node is licensed under the Business Source License 1.1.

Free Use

Permitted for personal, educational, research, and internal business use.

Commercial Use

Use of this node within any SaaS, PaaS, hosted platform, managed service, or paid automation offering requires a commercial license.

For licensing inquiries: [email protected]

See LICENSE, COMMERCIAL_LICENSE.md, and LICENSING_FAQ.md for details.

Contributing

Contributions are welcome! Please ensure:

  1. Code follows existing style conventions
  2. All tests pass (npm test)
  3. Linting passes (npm run lint)
  4. Documentation is updated for new features
  5. Commit messages are descriptive

Support