Create a new rule for a policy.
Basic Auth header with your app ID as the username and your app secret as the password.
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
24The rules that apply to each method the policy covers.
1 - 50Method the rule applies to.
eth_sendTransaction, eth_signTransaction, eth_signUserOperation, eth_signTypedData_v4, eth_sign7702Authorization, signTransaction, signAndSendTransaction, exportPrivateKey, signTransactionBytes, * A condition that must be true for the rule action to be applied.
Action to take if the conditions are true.
ALLOW, DENY Created policy rule object.
A rule that defines the conditions and action to take if the conditions are true.
1 - 50Method the rule applies to.
eth_sendTransaction, eth_signTransaction, eth_signUserOperation, eth_signTypedData_v4, eth_sign7702Authorization, signTransaction, signAndSendTransaction, exportPrivateKey, signTransactionBytes, * A condition that must be true for the rule action to be applied.
Action to take if the conditions are true.
ALLOW, DENY