REST APIEnterpriseGas Tanks

GET

Returns all auto-fund coin enrollments for an enterprise. An empty enrollments array means the enterprise has never opted in. This endpoint is also used for polling while any enrollment has status pending.

Path Params

  • enterpriseId string required
    Enterprise identifier

    at least 1 characters

Responses

200
OK

Response Body

object

  • enrollments array of objects required
    enrollments object
    • coin string required
      Coin identifier
    • status string enum required
      Enrollment lifecycle state: pending = opted in, FeeWorker is provisioning thresholds. active = monitored and funded by the auto-funding cron. disabled = funding paused for this coin. error = provisioning failed; see lastError.
      pendingactiveerrordisabled
    • version number required
      Monotonic write counter for optimistic concurrency
    • lastError string nullable required
      Populated only when status is error; null otherwise
    • updatedAt string required
      ISO 8601 timestamp of the last state change