Skip to content

Consider exporting the gatherUtxos utils function #296

Open
@mr-zwets

Description

@mr-zwets

Consider exporting the gatherUtxos utils function and maybe a variant to gatherTokenUtxos

Because it's often useful to have the user add input Utxos up to a certain amount, both for BCH and for tokens.
It's also handy that this function returns the actual input amount so the change amount can easily be calculated from this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    javascript-sdkRelates to the CashScript JavaScript SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions