Skip to main content
The CDP Policy Engine is a shared enforcement layer that governs signing operations across CDP wallet products. Each policy is a collection of rules. Each rule specifies an operation (the signing action to govern), criteria (conditions that must all match), and an action (accept or reject). Rules are evaluated in order before any signing operation executes. If no rule matches, the request is rejected by default.

Policy structure

A policy defines a set of rules that govern specific signing operations. Each policy contains:
FieldDescriptionValid values
scopeThe level at which the policy is appliedproject (embedded wallets only support project scope)
descriptionA human-readable description of the policyAny string
rulesA list of rules that govern signing behaviorAn array of rules
Each rule contains:
FieldDescriptionValid values
actionThe action to take when a rule matchesaccept or reject
operationThe signing operation this rule applies toSee Supported operations below
criteriaConditions that must all be true for the rule to matchAn array of criteria (logical AND)

Scope

Policies apply at the project or account level. Project-level policies cover all accounts in a CDP project; account-level policies apply to a single account. A single account can have at most one of each.
Embedded Wallets only support project-level policies.

Operations by product

The operation field in each rule determines which signing action and product surface the rule applies to. Use this table to find the right operation name for your wallet type.
Network-based criteria (evmNetwork, solNetwork) only apply to send operations, not sign-only operations.

EVM

ActionServer WalletEmbedded Wallet
SignTransactionsignEvmTransactionsignEndUserEvmTransaction
Message (EIP-191)signEvmMessagesignEndUserEvmMessage
Typed data (EIP-712)signEvmTypedDatasignEndUserEvmTypedData
HashsignEvmHash
SendTransactionsendEvmTransactionsendEndUserEvmTransaction
Smart account (prepare)prepareUserOperation
Smart account (send)sendUserOperation

Solana

ActionServer WalletEmbedded Wallet
SignTransactionsignSolTransactionsignEndUserSolTransaction
MessagesignSolMessagesignEndUserSolMessage
SendTransactionsendSolTransactionsendEndUserSolTransaction

Policies by product