Gas Tanks
Enable or disable coin auto-funding
Toggles auto-funding for a single coin in an opted-in enterprise. enable upserts the enrollment with status pending (the FeeWorker re-provisions thresholds and transitions it to active); disable sets status disabled and the auto-funding cron skips the coin. Requires an existing opt-in — call POST /api/gas-tank/v1/enterprises/{enterpriseId} first.
patch/api/gas-tank/v1/enterprises/{enterpriseId}/coin
Path parameters
enterpriseIdstring required
Example:59cd72485007a239fb00282ed480da1f
Enterprise identifier
Request body
Example request
{
"coin": "eth"
}Response
OK
Changes
Changed in 1 of the 33 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○