Gas Manager Admin API (REST) client #5

Closed
opened 2026-08-03 04:10:49 +00:00 by scheerenkevin · 1 comment
scheerenkevin commented 2026-08-03 04:10:49 +00:00 (Migrated from github.com)

Why

Policy management (creating/updating/listing Gas Manager sponsorship policies) is a REST Admin API, distinct from the JSON-RPC sponsorship methods.

Scope

  • REST client for Gas Manager Admin API endpoints (policy CRUD at minimum)
  • Reuses the shared HTTP layer / auth config where practical (separate from JSON-RPC transport since this is REST, not JSON-RPC)

Acceptance criteria

  • Client supports create/get/list/update policy operations
  • Mocked-HTTP tests via respx, no live calls
  • Error handling maps REST error responses to typed exceptions
## Why Policy management (creating/updating/listing Gas Manager sponsorship policies) is a REST Admin API, distinct from the JSON-RPC sponsorship methods. ## Scope - REST client for Gas Manager Admin API endpoints (policy CRUD at minimum) - Reuses the shared HTTP layer / auth config where practical (separate from JSON-RPC transport since this is REST, not JSON-RPC) ## Acceptance criteria - [ ] Client supports create/get/list/update policy operations - [ ] Mocked-HTTP tests via `respx`, no live calls - [ ] Error handling maps REST error responses to typed exceptions
scheerenkevin commented 2026-08-03 04:28:22 +00:00 (Migrated from github.com)

Merged into develop via #15.

Merged into develop via #15.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kevin/alchemy-wallet-client#5
No description provided.