| Parameter | Description | 
|---|---|
| inputMint | The input token mint address | 
| outputMint | The output token mint address | 
| amount | The amount of input token to swap, in native token units (before decimals) | 
| taker | The user’s wallet address (Note: If the takeris not provided, there will still be an Order Response with notransactionfield) | 
| referralAccount | The referral account address - refer to the Add Fees To Ultra Swap guide for the step by step process | 
| referralFee | The referral fee in basis points (bps) | 
Get Order
Order Response
In the order response, you will receive a number of fields that are important to note of, such as theswapType, slippageBps, etc.
Refer to Response section for example responses.
Refer to API Reference section for the full response fields.
- transaction: The base64 encoded transaction that you need to sign before submitting to the network.
- requestId: The request ID of the order to be used in the- Execute Orderendpoint.
Execute Order endpoint. Let’s go!