Create policy
Create a new policy.
Authorizations
App secret authentication.
Headers
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
Body
Version of the policy. Currently, 1.0 is the only version.
1.0
Name to assign to policy.
50
Chain type the policy applies to.
ethereum
The rules that apply to each method the policy covers.
The pem-formatted, P-256 public key of the owner of the policy. If you provide this, do not specify an owner_id as it will be generated automatically.
The key quorum ID to set as the owner of the policy. If you provide this, do not specify an owner.
Response
Version of the policy. Currently, 1.0 is the only version.
1.0
Name to assign to policy.
50
Chain type the policy applies to.
ethereum
The rules that apply to each method the policy covers.
Unique ID of the created policy. This will be the primary identifier when using the policy in the future.
24
The key quorum ID of the owner of the policy.
Unix timestamp of when the policy was created in milliseconds.