Field | Description | Valid values |
---|---|---|
scope | The level at which a policy gets applied | project or account |
rules | A list of rules that are used to govern the behavior of accounts | An array of rules |
action | The action to take when a policy is applied | accept or reject |
operation | The operation to perform when a policy is applied | signEvmTransaction , sendEvmTransaction , signEvmMessage , signEvmHash , signEvmTypedData , signSolTransaction , sendSolTransaction , prepareUserOperation , or sendUserOperation |
criteria | The list of logical expressions that are evaluated to a transaction to determine whether a rule should be applied or not | An array of criteria. See API Reference for more details. |
project
-level policy will be evaluated first, followed by any account
-level policies. Read more technical details on policy evaluation in the API Reference documentation.
How would this policy be evaluated?
operation
. The operation
corresponds to a CDP v2 API. Currently, the following operations are supported:
EVM Operations:
signEvmTransaction
: To identify incoming signing transactions on an EVM compatible networksendEvmTransaction
: To identify incoming signing transactions that are then sent to a supported networksignEvmTypedData
: To identify incoming typed data to be signed by an accountsignEvmMessage
: To identify incoming messages to be signed by an accountsignEvmHash
: To identify incoming hash to be signed by an accountprepareUserOperation
: For preparing user operations on a smart accountsendUserOperation
: For sending user operations using a smart accountsignSolTransaction
: To identify incoming signing transactions on the Solana networksendSolTransaction
: To identify incoming signing transactions that are then sent to the Solana mainnet or devnet network.PolicyAccount
0x000000000000000000000000000000000000dEaD
OtherPolicyAccount
which has the above policy applied during creation0x000000000000000000000000000000000000dEaD