1 | import { Payment, PaymentOpts } from './index';
|
2 | /**
|
3 | * Creates a Pay-to-Witness-Script-Hash (P2WSH) payment object.
|
4 | *
|
5 | * @param a - The payment object containing the necessary data.
|
6 | * @param opts - Optional payment options.
|
7 | * @returns The P2WSH payment object.
|
8 | * @throws {TypeError} If the required data is missing or invalid.
|
9 | */
|
10 | export declare function p2wsh(a: Payment, opts?: PaymentOpts): Payment;
|