ModuleSDK
Modules
Policies
getSpendingLimitsPolicy

getSpendingLimitsPolicy

Get the spending limits policy.

Usage

 const spendingLimitsPolicy = getSpendingLimitsPolicy([{
    token: '0x1234...',
    limit: 100
 }])

Parameters

TokenWithLimits

Token with limits array. The limit is the maximum amount of the token that can be spent.

Returns

policy

The spending limits policy.