Pebble App Framework: Phone API
    Preparing search index...

    Function loadLedger

    • Reads the stamps spent on one key with one provider. Each key keeps its own, so swapping to another key and back finds the first key's count where it was left.

      Parameters

      • storage: LedgerStorage

        Where the ledger lives, normally localStorage.

      • provider: string

        The provider's id.

      • print: string

        The fingerprint of the key in use.

      • nowMs: number

        Now, in epoch milliseconds.

      Returns number[]

      The stamps of the last day spent on this key.