p2sh
bitcoinjs-lib / payments / p2sh
Function: p2sh()
p2sh(
a
,opts
?):Payment
Defined in: ts_src/payments/p2sh.ts:29
Creates a Pay-to-Script-Hash (P2SH) payment object.
Parameters
a
The payment object containing the necessary data.
opts?
Optional payment options.
Returns
The P2SH payment object.
Throws
If the required data is not provided or if the data is invalid.