Skip to main content
POST /api/v1/lake/update_deposit_cap
The operation type for signing is "update_lake_deposit_cap". Only the vault creator can call this endpoint.

Request Body

FieldTypeNeedDescriptionExample
”account”stringrequiredCreator wallet address42trU9A5…
“signature”stringrequiredCryptographic signature5J3mBbAH…
“timestamp”integerrequiredCurrent timestamp in milliseconds1716200000000
”lake”stringrequiredVault addressAbCdEfGh123456789…
“deposit_cap”decimal string or nulloptionalNew LP deposit cap. Set to null to remove the cap.2000000
”agent_wallet”stringoptionalAgent wallet address69trU9A5…
“expiry_window”integeroptionalSignature expiry in milliseconds30000
{
  "account": "42trU9A5...",
  "signature": "5J3mBbAH...",
  "timestamp": 1716200000000,
  "lake": "AbCdEfGh123456789...",
  "deposit_cap": "2000000"
}

Response

  • Status 200: Deposit cap updated successfully
{
  "success": true,
  "data": {
    "success": true
  },
  "error": null,
  "code": null
}
  • Status 400: Invalid request parameters
  • Status 401: Unauthorized access
  • Status 403: Caller is not the vault creator
  • Status 500: Internal server error