Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Transaction example #27

Closed
Kycermann opened this issue Feb 26, 2021 · 0 comments
Closed

Transaction example #27

Kycermann opened this issue Feb 26, 2021 · 0 comments

Comments

@Kycermann
Copy link

Transactions can have multiple utxos? How would we add those in?

const transaction = new litecore.Transaction();
    .from(utxo)
    .to(targetAddress, target)
    .to(changeAddress, change)
    .sign(privateKey);

Could someone please provide an example of a transaction with multiple inputs?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant