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

litLease

Submit a LIT lease transfer. The server calculates the required fee based on lease_amount and duration_days, then executes the transfer. Fee formula (integer arithmetic): fee = lease_amount × (annual_rate × 100) × duration_days / (360 × 10000).

post
/api/v1/litLease
Header parameters
authorizationstringRequired

Auth token in the Authorization header.

Body
tx_infostringRequired

Signed transaction info (JSON with L2 signature, L1 signature, etc.)

lease_amountstringRequired

Amount of LIT to lease in raw units (1 LIT = 100000000)

duration_daysinteger · int32Required

Lease duration in days. Must match one of the available lease options.

Responses
200

A successful response.

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

"tx_info='text'&lease_amount='text'&duration_days=1"
{
  "code": 200,
  "message": "text",
  "tx_hash": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8"
}

Last updated

Was this helpful?