embed
reddcoinjs-lib v7.0.1-rdd.1 • Docs
reddcoinjs-lib v7.0.1-rdd.1 / payments / embed
Function: embed()
embed(
a,opts?):Payment
Embeds data in a Bitcoin payment.
Parameters
• a: Payment
The payment object.
• opts?: PaymentOpts
Optional payment options.
Returns
The modified payment object.
Throws
If there is not enough data or if the output is invalid.