Prepare a Lighter fast USDC withdrawal
Signs a transfer to Lighter's withdrawal pool and returns the message requiring L1 authorization
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/prepare-fast-withdraw" \ -H "Content-Type: application/json" \ -d '{ "accountIndex": 0, "toAddress": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", "amount": 4000000, "apiKeyIndex": 0, "apiPrivateKey": "string" }'{ "messageToSign": "string", "txInfo": "string", "fee": 0, "availableBalance": 0}