getSpendingLimitsPolicy
Get the spending limits policy.
Usage
const spendingLimitsPolicy = getSpendingLimitsPolicy([{
token: '0x1234...',
limit: 100
}])
Parameters
TokenWithLimits
- Type:
TokenWithLimit[]
Token with limits array. The limit is the maximum amount of the token that can be spent.
Returns
policy
- Type:
Policy
The spending limits policy.