The Gas Manager Admin API endpoints allows you to programmatically create, update and manage gas policies.
Chains Supported
Method | Description | Ethereum | Polygon | Arbitrum | Optimism | Base | Zora | Fraxtal | Polynomial |
---|---|---|---|---|---|---|---|---|---|
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. | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks |
Get Policy | Returns a policy by id. | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks |
Delete Policy | Deletes a policy by id. | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks |
Replace Policy | Replaces all rules in an existing policy by id. | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks |
Get All Policies | Returns all policies under an app. The results are paginated. | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks |
Update Policy Status | Modifies the status of a policy to either "active" or "inactive". | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks |
Get Policy Stats | Returns stats about a policy specified by ID, including signatures mined, signatures expired, signatures pending, USD mined, and USD pending. | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks |
Get Sponsorships | Returns a list of sponsorships associated with the specified policy ID. The results are paginated. | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks | All Networks |