Why Use Transaction Policies?
Transaction Policies give you fine-grained control while maintaining the flexibility your team needs:- Control transaction approvals — Define how transactions from different initiators are handled and who is authorized to approve them.
- Set spending limits — Set limits on individual transactions or cumulative transaction amounts, based on USD value or asset type.
- Control recipients and contract interactions — Restrict transfers to approved whitelist addresses or limit interactions with specific contracts.
- Secure API workflows — Apply transaction rules to API-initiated requests and support programmatic signing through the API Client Signer.
- Streamline approval workflows — Reduce approval steps for routine, low-risk transactions while requiring stricter approval processes for high-risk transactions.
Transaction Policy Components
A Transaction Policy consists of two main components: Whitelist and Rules.Whitelist
The Whitelist stores addresses or IDs that can be referenced in transaction rules, such as approved recipient addresses or contracts. Adding an entry to the Whitelist does not automatically affect transaction handling. You must reference the entry in a rule condition for it to be used when matching transactions.Bitcoin supports recipient addresses only. Contract entries are not supported.
Rules
Each rule consists of a set of conditions and an action.- Conditions define which transactions the rule applies to, based on criteria such as amount, asset, network, destination address, or contract interaction.
- Action determines how a matching transaction is handled: Allow, Require Approval, or Deny.
Rule Evaluation Order
Rules are evaluated sequentially, from top to bottom. The first matching rule is applied.- All conditions within a rule must be met (AND).
- If no custom rule matches, the Default Rule is applied.