Skip to main content
POST
/
earn
/
withdraw-instructions
withdraw-instructions
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>"
}

Body

application/json
asset
string
required
signer
string
required
amount
string
required

Response

200 - application/json

Successful response

programId
string
required
accounts
object[]
required
data
string
required
I