GET
List auto-fund enrollments
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
-
enterpriseIdstring requiredEnterprise identifier
Responses
200
OK
Response Body
object
-
enrollmentsarray of objects requiredenrollments object
-
coinstring requiredCoin identifier -
statusstring enum requiredEnrollment 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 -
versionnumber requiredMonotonic write counter for optimistic concurrency -
lastErrorstring nullable requiredPopulated only when status is error; null otherwise -
updatedAtstring requiredISO 8601 timestamp of the last state change
-