embed
bitcoinjs-lib / payments / embed
Function: embed()
embed(
a
,opts
?):Payment
Defined in: ts_src/payments/embed.ts:18
Embeds data in a Bitcoin payment.
Parameters
a
The payment object.
opts?
Optional payment options.
Returns
The modified payment object.
Throws
If there is not enough data or if the output is invalid.