Authorizations
Basic Auth header with your app ID as the username and your app secret as the password.
Headers
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
Path Parameters
Required string length:
24
Required string length:
24
Body
application/json
The rules that apply to each method the policy covers.
Maximum length:
50
Method the rule applies to.
Available options:
eth_sendTransaction
, eth_signTransaction
, eth_signTypedData_v4
, eth_sign7702Authorization
, signTransaction
, signAndSendTransaction
, exportPrivateKey
, *
conditions
(ethereum_transaction · object | ethereum_calldata · object | ethereum_typed_data_domain · object | ethereum_typed_data_message · object | ethereum_7702_authorization · object | solana_program_instruction · object | solana_system_program_instruction · object | solana_token_program_instruction · object | system · object)[]
required
Action to take if the conditions are true.
Available options:
ALLOW
, DENY
Response
200 - application/json
Updated policy rule object.
A rule that defines the conditions and action to take if the conditions are true. The rules that apply to each method the policy covers.
Maximum length:
50
Method the rule applies to.
Available options:
eth_sendTransaction
, eth_signTransaction
, eth_signTypedData_v4
, eth_sign7702Authorization
, signTransaction
, signAndSendTransaction
, exportPrivateKey
, *
conditions
(ethereum_transaction · object | ethereum_calldata · object | ethereum_typed_data_domain · object | ethereum_typed_data_message · object | ethereum_7702_authorization · object | solana_program_instruction · object | solana_system_program_instruction · object | solana_token_program_instruction · object | system · object)[]
required
Action to take if the conditions are true.
Available options:
ALLOW
, DENY