> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mpcvault.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Transaction Policy Use Cases

> Transaction Policies let you define different handling requirements based on transaction type, amount, initiator, and contract interactions.

## 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.

This allows you to define different approval requirements for different operations involving the same contract, based on the specific operation being performed.

## Restrict Contract Interactions and Methods

To restrict a wallet to specific contract calls on a network, configure these rules in this order:

1. **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.
2. **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.

Adding a contract to the Whitelist alone does not restrict which methods can be called on that contract.

## 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:

1. **Accumulated Transaction Volume:** Require a higher level of approval when daily volume exceeds the cumulative threshold.
2. **Single Transaction Amount:** Require additional approval when an individual transaction exceeds the per-transaction threshold.

The first matching rule applies, so a transaction that exceeds both thresholds gets the higher approval requirement. If you express the thresholds in token units, add the **Asset** condition to both rules.

## 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.

This lets you manage approved recipient addresses centrally and reference them across multiple rules.

## 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.

This approach keeps routine API transactions automated while retaining manual review for high-value or specific types of transactions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.