Query Parameters
- inputMintstringREQUIRED
The mint address of the input token
- outputMintstringREQUIRED
The mint address of the output token
- makerstringREQUIRED
The wallet address of the user who wants to create an order
- payerstringREQUIRED
The wallet address of who is paying to open an order (usually 'maker')
- paramsobjectREQUIRED
Order parameters containing amounts, expiration, and fee settings
- makingAmountstringREQUIRED
Amount of input mint to sell
- takingAmountstringREQUIRED
Amount of output mint to buy
- expiredAtstring
Unix time in seconds that determines when an order should automatically close. i.e Date.now() / 1_000
- feeBpsstring
Amount of fee that the 'referral' collects. This field is required if 'referral' is provided
- computeUnitPricestring
Used to determine a transaction's prioritization fee (i.e 500000). Defaults to 'auto'
- referralstring
The public key where fees get sent to. This field is required if 'feeBps' is provided
- inputTokenProgramstring
Specifies the program ID for the input token. Defaults to 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'
- outputTokenProgramstring
Specifies the program ID for the output token. Defaults to 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'
- wrapAndUnwrapSolboolean
Defaults to 'true' if either input or output mints are raw SOL
Returns
- orderstring
The public key of the Jupiter Limit Order for the unsigned transaction
- txstring
The unsigned transaction to create the Jupiter Limit Order
- instructionsarray
The instructions to create the Jupiter Limit Order
- instructionobject
The instruction for the order
- programIdstring
The program ID of the instruction
- keysarray
Array of objects containing the keys of the instruction
- pubkeystring
The public key of the instruction
- isSignerboolean
Whether the public key is a signer
- isWritableboolean
Whether the address is writable
- datastring
The data of the instruction