Cashu-TS - v3.7.2
    Preparing search index...

    Function getKeysetAmounts

    • Returns the amounts in the keyset sorted by the order specified.

      Parameters

      • keyset: Keys

        To search in.

      • order: "desc" | "asc" = 'desc'

        Order to sort the amounts in.

      Returns number[]

      The amounts in the keyset sorted by the order specified.

      Currently returns unsafe (rounded) numbers above safe integer limit. Will be resolved in v4 when we can change signature to return Amount