Get Quotes
Get quotes from Jupiter by specifying required parameters.
Request
Method:
GET ./api/v2/raydium/quotes
Parameter | Type | Description |
---|---|---|
| string | Symbol of the swap-in token. |
| string | Symbol of the swap-out token. |
| number | The amount of token wanted to be swapped from. |
| number | The maximum slippage tolerance in percentage. |
Request example:
Response:
Fields:
Field | Type | Description |
---|---|---|
| string | Symbol of the swap-in token. |
| string | The program address for the swap-in token. |
| string | Symbol of the swap-out token. |
| string | The program address for the swap-out token. |
| double | The amount of token wanted to be swapped from. |
| [] | See |
RaydiumQuoteRoute
Field | Type | Description |
---|---|---|
| double | Number of the swap-in token. |
| double | Number of the swap-out token. |
| [] | See |
RaydiumQuoteStep
Field | Type | Description |
---|---|---|
| string | Symbol of the swap-in token for the current step. |
| string | The program address for the swap-in token for the current step. |
| string | Symbol of the swap-out token for the current step. |
| string | The program address for the swap-out token for the current step. |
| double | Number of the swap-in token for the current step. |
| double | Number of the swap-out token for the current step. |
| double | The maximum slippage tolerance in percentage. |
|
|
|
fee |
|
|
PriceImpactV2
Field | Type | Description |
---|---|---|
| double | Percentage impact on price. |
| string | Indicates possible infinity values: |
Fee
Field | Type | Description |
---|---|---|
| float | Amount paid to AMM project |
| string | Token currency the fee is paid in |
| float | Percentage of the swap consumed by the fee |
Response Example:
Last updated