Create Policy

Creates a new gas manager policy with the specified rules. Returns the policy id of
a successfully created policy. The newly created policy will be in the “inactive” status.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
Defaults to My Policy

Name of the policy

string
Defaults to sponsorship

Type of the policy (e.g. "sponsorship"). Currently we support "sponsorship" (for EVM network policies) and "solana" (for Solana network policies).

string
Defaults to 6d834x9k1yh4dx6z

ID for the app associated with the new policy.
Learn how to find your app ID here.

rules
object

Rules for "sponsorship" policy type. Empty if policyType is not "sponsorship".

solanaRules
object

Rules for "solana" policy type. Empty if policyType is not "solana".

Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json