cURL
curl --request POST \ --url https://lite-api.jup.ag/lend/v1/earn/withdraw-instructions \ --header 'Content-Type: application/json' \ --data '{ "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "signer": "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf", "amount": "1000000" }'
{ "programId": "<string>", "accounts": [ { "pubkey": "<string>", "isSigner": true, "isWritable": true } ], "data": "<string>" }
Request for the instruction of an earn withdraw transaction to withdraw assets
Successful response
Show child attributes