mint-instructions
curl --request POST \
--url https://api.jup.ag/lend/v1/earn/mint-instructions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"signer": "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf",
"shares": "1000000"
}
'{
"programId": "jup3YeL8QhtSx1e253b2FDvsMNC87fDrgQZivbrndc9",
"accounts": [
{
"pubkey": "BQ72nSv9f3PRyRKCBnHLVrerrv37CYTHm5h3s9VSGQDV",
"isSigner": true,
"isWritable": true
}
],
"data": "5Fd4AAAAAAA..."
}Earn
Mint Instructions
Request for the instruction of an earn mint transaction to mint shares
POST
/
earn
/
mint-instructions
mint-instructions
curl --request POST \
--url https://api.jup.ag/lend/v1/earn/mint-instructions \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"signer": "HYbxGkNvEwvZ14RzJHPB9h3dWfXjxwAEhkyzJRHx1hBf",
"shares": "1000000"
}
'{
"programId": "jup3YeL8QhtSx1e253b2FDvsMNC87fDrgQZivbrndc9",
"accounts": [
{
"pubkey": "BQ72nSv9f3PRyRKCBnHLVrerrv37CYTHm5h3s9VSGQDV",
"isSigner": true,
"isWritable": true
}
],
"data": "5Fd4AAAAAAA..."
}Documentation Index
Fetch the complete documentation index at: https://dev.jup.ag/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Get API key via https://developers.jup.ag/portal
Body
application/json
Was this page helpful?
⌘I
