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