hydra

Set optional automatic node funding limits. (admin access required)

Changed on

Automatic funding is unlimited by default. A lifetime limit counts pending and confirmed transfers to the node address, including manual and historical transfers. A refill is skipped if it would exceed the limit. Explicit admin funding remains available.

patch/hydra/participant/local/fund

Request

  • Base URL: ./../api/v1/ (relative, and the document was published on a file host, not at the API’s origin)
  • URL: ./../api/v1/hydra/participant/local/fund
  • Auth: API key in header token

Request body

idstring required
autoFundboolean
automaticFundingLimitLovelacestring nullable

Null removes the limit. Zero blocks automatic funding.

Example request

{
  "id": "cuid_v2_auto_generated",
  "automaticFundingLimitLovelace": null
}

Response

Automatic funding settings

status'success' required

Example response

{
  "status": "success",
  "data": {
    "id": "cuid_v2_auto_generated",
    "autoFund": true,
    "automaticFundingLimitLovelace": null
  }
}

Changes