Skip to main content
POST
/
jlp
/
mint
cURL
curl --request POST \
  --url https://lite-api.jup.ag/perps/v1/jlp/mint \
  --header 'Content-Type: application/json' \
  --data '{
  "depositToken": "WBTC",
  "depositTokenAmount": "<string>",
  "walletAddress": "<string>"
}'
{
  "mintFeeBps": "<string>",
  "mintFeePercent": "<string>",
  "mintTokenAmount": "<string>",
  "serializedTxBase64": "<string>",
  "transactionType": "legacy",
  "txMetadata": {
    "blockhash": "<string>",
    "lastValidBlockHeight": "<string>",
    "transactionFeeLamports": "0.5",
    "accountRentLamports": "0.5"
  }
}

Body

application/json
depositToken
enum<string>
required

Token to deposit to mint JLP

Available options:
WBTC,
ETH,
SOL,
USDC
depositTokenAmount
string
required

The amount of the deposit token to deposit to mint JLP

walletAddress
string
required

Public key for the wallet to mint JLP

Response

200 OK

mintFeeBps
string
required

JLP mint fee (BPS)

mintFeePercent
string
required

JLP mint fee (%)

mintTokenAmount
string
required

The amount of JLP minted (after fees)

serializedTxBase64
string | null
required

The serialized transaction (base64 encoded) containing the instructions and given parameters for the mint request. The transaction can be deserialized, signed by the owner of walletAddress and submitted onchain.

transactionType
enum<string>
default:legacy
required

The type of transaction

Available options:
legacy
txMetadata
object | null
required

Contains relevant metadata for the serialized transaction. Null if no wallet address passed in.