p2wsh
bitcoinjs-lib / payments / p2wsh
Function: p2wsh()
p2wsh(
a
,opts
?):Payment
Defined in: ts_src/payments/p2wsh.ts:46
Creates a Pay-to-Witness-Script-Hash (P2WSH) payment object.
Parameters
a
The payment object containing the necessary data.
opts?
Optional payment options.
Returns
The P2WSH payment object.
Throws
If the required data is missing or invalid.