For the complete documentation index, see llms.txt. This page is also available as Markdown.

referral_use

Use a referral code. You can change this at a later time.

post
/api/v1/referral/use
Header parameters
authorizationstringRequired

Auth token in the Authorization header.

Body
l1_addressstringRequired
referral_codestringRequired
discordstringOptional
telegramstringOptional
xstringOptional

X (Twitter) username associated with the referral; maximum length 40 characters.

signaturestringOptional
sourcestringOptional
Responses
200

A successful response.

application/json
codeinteger · int32RequiredExample: 200
messagestringOptional
post/api/v1/referral/use
POST /api/v1/referral/use HTTP/1.1
Host: mainnet.zklighter.elliot.ai
authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 125

"l1_address='text'&referral_code='text'&discord='text'&telegram='text'&x='text'&signature='text'&source='text'"
{
  "code": 200,
  "message": "text"
}

Last updated

Was this helpful?