p2pk
bitcoinjs-lib / payments / p2pk
Function: p2pk()
p2pk(
a
,opts
?):Payment
Defined in: ts_src/payments/p2pk.ts:20
Creates a pay-to-public-key (P2PK) payment object.
Parameters
a
The payment object containing the necessary data.
opts?
Optional payment options.
Returns
The P2PK payment object.
Throws
If the required data is not provided or if the data is invalid.