Policies
policies
Methods
Create a new policy.
Get a policy by policy ID.
Get a rule by policy ID and rule ID.
Update a policy by policy ID.
Delete a policy by policy ID.
Create a new rule for a policy.
Update a rule by policy ID and rule ID.
Delete a rule by policy ID and rule ID.
Domain types
A parameter in a Solidity ABI function or event definition.
A Solidity ABI definition for decoding smart contract calldata.
Condition on the original wallet action API request body fields.
Condition referencing an aggregation value. The field must start with "aggregation." followed by the aggregation ID.
Operator to use for policy conditions.
A condition set for grouping related condition values.
Headers required to authorize modifications to condition sets.
A single item in a condition set.
Unique IDs of the condition set and the condition set item within the condition set to take actions on.
A single value to add to a condition set.
Array of condition set items.
Array of values to add to the condition set. Maximum 100 items per request.
Paginated list of condition set items.
Request body for creating a condition set. Optionally provide owner or owner_id (but not both) to specify ownership.
Unique ID of the condition set to take actions on.
Value to compare against in a policy condition. Can be a single string or an array of strings.
Allowed contract addresses for eth_sign7702Authorization requests.
The decoded calldata in a smart contract interaction as the smart contract method's parameters. Note that 'ethereum_calldata' conditions must contain an abi parameter with the JSON ABI of the smart contract.
The verbatim Ethereum transaction object in an eth_signTransaction or eth_sendTransaction request.
Ethereum transaction-level fields that can be referenced in a policy condition.
Attributes from the signing domain that will verify the signature.
Supported fields for Ethereum typed data domain conditions.
'types' and 'primary_type' attributes of the TypedData JSON object defined in EIP-712.
Condition on the message being signed (e.g. in personal_sign).
Supported fields for message signing conditions.
A policy for controlling wallet operations.
The action to take when a policy rule matches.
Headers required to authorize modifications to policies.
A condition that must be true for the rule action to be applied.
Method the rule applies to.
Unique ID of the policy to take actions on.
The rules that apply to each method the policy covers.
Unique IDs of the policy and the rule within the policy to take actions on.
A rule that defines the conditions and action to take if the conditions are true.
Solana Program attributes, enables allowlisting Solana Programs.
Solana System Program attributes, including more granular Transfer instruction fields.
Supported fields for Solana System Program conditions including Transfer instruction fields.
Solana Token Program attributes, including more granular TransferChecked instruction fields.
Supported fields for Solana Token Program conditions including Transfer, TransferChecked, Burn, MintTo, CloseAccount, and InitializeAccount3 instruction fields.
SUI transaction command attributes, enables allowlisting specific command types. Allowed commands: 'TransferObjects', 'SplitCoins', 'MergeCoins'. Only 'eq' and 'in' operators are supported.
Operator to use for SUI transaction command conditions. Only 'eq' and 'in' are supported for command names.
SUI TransferObjects command attributes, including recipient and amount fields.
Supported fields for SUI TransferObjects command conditions. Only 'recipient' and 'amount' are supported.
System attributes, including current unix timestamp (in seconds).
A Tempo (type 118) transaction-level field. Evaluated once per transaction (not per call).
Tempo (type 118) transaction-level fields that can be referenced in a policy condition.
Decoded calldata from a TRON TriggerSmartContract interaction.
TRON transaction fields for TransferContract and TriggerSmartContract transaction types.
Supported TRON transaction fields for TransferContract and TriggerSmartContract in format "TransactionType.field_name".
The typed data structure containing EIP-712 types and the primary type for typed data message policy conditions.
Request body for updating a condition set. At least one field must be provided. owner and owner_id are mutually exclusive.