Skip to main content
The operation type for signing is "claim_lake_referral". Only the vault creator can claim a referral code for an existing vault.

Request Body

FieldTypeNeedDescriptionExample
”account”stringrequiredCreator wallet address42trU9A5…
“signature”stringrequiredCryptographic signature5J3mBbAH…
“timestamp”integerrequiredCurrent timestamp in milliseconds1716200000000
”lake”stringrequiredVault addressAbCdEfGh123456789…
“code”stringrequiredReferral code to claimtestcode
”agent_wallet”stringoptionalAgent wallet address69trU9A5…
“expiry_window”integeroptionalSignature expiry in milliseconds30000

Response

  • Status 200: Referral code claimed successfully
  • Status 400: Invalid request parameters or caller is not the vault creator
  • Status 401: Unauthorized access
  • Status 500: Internal server error