Create a Lighter auth token
Creates an auth token for authenticating private API requests to Lighter
x-api-key<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/misc/lighter/create-auth-token" \ -H "Content-Type: application/json" \ -d '{ "accountIndex": 0, "apiKeyIndex": 0, "apiPrivateKey": "string" }'{ "token": "string"}