@heliuslabs/spr - v0.9.0-alpha
    Preparing search index...

    Class Wallet

    Index
    identity: ShieldedAddress
    • get lastSynced(): bigint

      Timestamp the last completed sync was told to record, zero before the first.

      Returns bigint

    • Inserts when absent, false when the exact pair is present, a conflicting binding raises.

      Parameters

      Returns boolean

    • The spendable default-ring balance of one registered mint. A mint the wallet holds no UTXO for still has a balance of zero. Only an unknown mint is a rejection.

      Parameters

      • mint: Address
      • Optionalfilter: Readonly<{ kind: "minAmount"; minAmount: bigint }>

      Returns AssetBalance

    • One spendable default-ring balance per mint the wallet holds an unspent UTXO for, by asset id. Ring-bound UTXOs appear in ringBalances.

      Parameters

      • skipUtxos: boolean = false

      Returns readonly AssetBalance[]