Policies
List immutable policy revisions
GET
apiKeyAuthheader
X-API-Key<token>Organization-owned GasTanker API key.
id*stringResponse for status 200
application/json- response
data*array<>curl -X GET 'https://api.gastanker.xyz/v1/policies/string/revisions'{ "data": [ { "id": "string", "organizationId": "string", "policyId": "string", "revision": 0, "thresholdBaseUnits": "string", "targetBaseUnits": "string", "actorKind": "string", "actorId": "string", "createdAt": "string" } ]}List gas policies GET
Newest first, up to `limit` per page (default 100, at most 500). While `nextCursor` is not null, pass it as `cursor` to read the next page.
Check a wallet now POST
When the wallet is not low, returns `status: healthy` and no operation. When it is low, records a watch-only gas operation, alerts the organization, and returns it. If the wallet already has an active operation, that operation is returned instead of a new one.