Distinguish Between Token Approval and Token Transfer
In DeFi workflows, Token Approval and Token Transfer carry different risks. You can use Transaction Payload Matches to distinguish between these operations and apply different approval requirements. For example:- Token Approval: Require fewer approvers, or allow any eligible member to approve, to reduce delays for routine approval operations.
- Token Transfer / transferFrom: Require stricter approval to ensure asset transfers are properly reviewed.
Restrict Contract Interactions and Methods
To restrict a wallet to specific contract calls on a network, configure these rules in this order:- Allow approved calls. Set Source Wallet and Network, then use Specified interaction target under Contract Interaction to match the approved contract address and method. Add any supported parameter restrictions you need. If you allow multiple calls, add a rule for each approved target before the next rule.
- Deny the remaining requests in scope. Set the same Source Wallet and Network, then select Deny. This catches any remaining request from that wallet on that network, including calls to other contracts or methods. Place this rule before any broader rule that could allow those requests.
Set Transaction Amount Limits
To trigger approval when either threshold is exceeded, configure two separate rules. For example, if the daily volume limit requires stricter approval, add the rules in this order:- Accumulated Transaction Volume: Require a higher level of approval when daily volume exceeds the cumulative threshold.
- Single Transaction Amount: Require additional approval when an individual transaction exceeds the per-transaction threshold.
Restrict Transaction Destinations
If your team only allows transfers to approved addresses, you can first add those addresses to the Whitelist and then reference the relevant Recipient entries in your rules. For example:- Allow transactions sent to addresses on the Whitelist.
- Require multiple approvals or deny transactions sent to other addresses.
Configure Automated Signing and Manual Approval for API Transactions
Teams that initiate transactions through the API often want to reduce manual work for routine transactions while maintaining controls over high-risk activity. You can combine Initiator with amount, asset, or other transaction conditions to define different handling requirements for API-initiated transactions:- Routine API transactions: Configure rules for transactions initiated by an API User and select the Client Signer as the signer. Transactions that meet the rule conditions can then be signed by the Client Signer, reducing the need for manual intervention.
- High-risk API transactions: If a transaction exceeds a specified amount threshold or involves a particular asset or contract operation, configure Require Approval so that designated people must approve it before signing.