Swig TS — API References
    Preparing search index...
    Index

    Accessors

    Methods

    • Check if allowed to spend a given amount, or spend at all if no amount is provided

      Parameters

      • Optionalamount: bigint

        Token amount

      Returns boolean

      boolean

    • Spend Recurring controller

      Parameters

      • args: { amount: bigint; lastReset: bigint; recurringAmount: bigint; window: bigint }

      Returns SpendController