Namespace payments

Provides functionality for creating and managing Bitcoin payment objects.

This module supports multiple Bitcoin address types for payments, including:

  • P2PKH (Pay-to-PubKey-Hash)
  • P2SH (Pay-to-Script-Hash)
  • P2WPKH (Pay-to-Witness-PubKey-Hash)
  • P2WSH (Pay-to-Witness-Script-Hash)
  • P2TR (Taproot)

The Payment interface defines the structure of a payment object used for constructing various payment types, with fields for signatures, public keys, redeem scripts, and more.

Index

Interfaces

Type Aliases

Functions