A simple collection of UTXO entries. This struct is used to retain a set of UTXO entries in the WASM memory for faster processing. This struct keeps a list of entries represented by UtxoEntryReference struct. This data structure is used internally by the framework, but is exposed for convenience. Please consider using UtxoContext instead.

Constructors

Properties

Methods

Constructors

  • Create a new UtxoEntries struct with a set of entries.

    Parameters

    • js_value: any

    Returns UtxoEntries

Properties

items: any

Methods

  • Returns bigint

  • Returns void

  • Sort the contained entries by amount. Please note that this function is not intended for use with large UTXO sets as it duplicates the whole contained UTXO set while sorting.

    Returns void

    • Return copy of self without private attributes.

    Returns Object

  • Return stringified version of self.

    Returns string

Generated using TypeDoc