Skip to main content

Allowlist a specific smart contract

Configure a max transfer value of ETH

Restrict transactions to specific chains

Use the chain_id field to ensure transactions can only be executed on specific chains.

Configure a max transfer value of an ERC20 token

Allow specific smart contract function calls

Use field: "function_name" to match specific functions being called, regardless of their parameters. This is useful for:
  • Functions with no parameters (like deposit() or withdraw())
  • Functions where you want to allow any parameter values

Only allow transfers after a certain start date

Denylist recipients of a transaction

Denylist recipients of a transaction with condition sets

Enforce policies across multiple RPC methods

Restrict message signing by content

Use the message field source on personal_sign rules to constrain what messages a wallet can sign. The content field supports string operators (eq, contains, starts_with, ends_with, in, in_condition_set), and the byte_length field supports numeric operators.

Deny all requests

Restrict typed data domains to a specific chain ID and verifying contract

Restrict parameters of a typed data message

An ethereum_typed_data_message condition only evaluates when the types map declared in the policy matches the types map in the signing request exactly. That includes EIP712Domain and every other type the client sends, even types the condition’s field path never traverses, and the fields within each type must appear in the same order. On a mismatch the condition evaluates to false rather than skipping: in a DENY rule this means the rule never fires, and a permissive ALLOW rule on the same method signs the request. Copy the types map verbatim from what the client emits.
To screen typed-data recipients against a denylist, see sanctions screening for x402 payments.

Restrict the delegation contract for EIP-7702

Prevent private key exports while allowing other actions

Only permit private key exports

Anti patterns

Avoid adding rules that may override other rules