Gas Manager Admin API Endpoints

The Gas Manager Admin API Endpoints allows you to programmatically manage your gas manager policies.

What are Gas Manager Admin APIs?

The Gas Manager Admin APIs allow you to programmatically manage gas sponsorship policies. Developers can define and manage policies governing gas sponsorship behavior—such as spending limits and eligibility. Below are the Gas Manager Admin API endpoints available and the corresponding docs for each of them.

MethodDescription
create-policyCreates a new gas manager policy with the specified rules.
get-policyReturns a policy by id.
replace-policyReplaces all rules in an existing policy by id.
delete-policyDeletes a policy by id.
get-all-policiesReturns all policies. The results are paginated.
update-policy-statusModifies the status of a policy to either “active” or “inactive”.
get-policy-statsReturns stats about a policy specified by ID.
get-sponsorshipsReturns a list of sponsorships associated with the specified policy ID. The results are paginated.