Node reference
Quote Raydium route
Quote exact-input or exact-output routing
Quote Raydium route estimates a route between two tokens without signing a swap. Use it to inspect amount units and route data first.
Try it step by step#
- Enter the input and output mint addresses. Keep automatic mint-decimal lookup enabled unless you know both scales.
- Choose Exact input to specify what you spend, or Exact output to specify what you want to receive.
- Enter Amount, run, and inspect inputAmountRaw, outputAmountRaw, and routePlan.
What to expect#
The output contains a route estimate and integer amount strings. Exact input and Exact output give the Amount field different meanings.
Things to check#
- A quote can change before execution. Swap on Raydium obtains its own fresh quote.
- If decimal lookup is disabled, supply correct input and output decimals.
- Selecting a transaction version changes the requested route format; it does not submit the quote.
Keep learning#
Network setup: This node uses solana. See connections for RPC setup and Test mode for network selection.
Parameters#
| Setting | Default | What it does |
|---|---|---|
| Input Mint | — | Mint of the token supplied to the swap route. |
| Output Mint | — | Mint of the token received from the swap route. |
| Quote | exactIn | Exact input specifies the quantity spent; Exact output specifies the quantity received. |
| Amount | — | Decimal amount of the input token for Exact input, or the output token for Exact output. |
| Input Decimals | — | Decimal scale for the input token when supplied explicitly. |
| Output Decimals | — | Decimal scale for the output token when supplied explicitly. |
| Look Up Missing Decimals | true | Read missing decimal scales from the token mints instead of entering them manually. |
| Slippage (%) | 0.5 | Maximum tolerated execution change in percent; 0.5 means half a percent. |
| Transaction Version | LEGACY | Transaction format requested from the route service. |
| Commitment | confirmed | How far a Solana block must be confirmed before its data is used. |
| RPC URL | {{global.chains.solana.rpcUrl}} | Configured for Solana in workspace RPC settings. |
| Transaction API URL | — | Optional Raydium transaction API URL used to request the route. |
| On failure | stop | Choose whether a failed execution stops the workflow or only ends this path. |
| Retry attempts | 0 | How many additional attempts to make after the first failure. |
Quote: Choices: Exact input (exactIn), Exact output (exactOut).
Input Decimals: Available under More options. Limits: minimum 0; maximum 18.
Output Decimals: Available under More options. Limits: minimum 0; maximum 18.
Look Up Missing Decimals: Available under More options.
Transaction Version: Choices: Legacy (LEGACY), Version 0 (V0). Available under More options.
Commitment: Choices: Processed (processed), Confirmed (confirmed), Finalized (finalized). Available under More options.
RPC URL: Available under More options.
Transaction API URL: Available under More options.
On failure: Choices: Stop workflow (stop), Continue (continue). Available under More options.
Retry attempts: Available under More options. Limits: minimum 0.
Inputs#
| Port | Value | Description |
|---|---|---|
in | any | Payload to preserve with the route quote. |
Outputs#
| Port | Value | Description |
|---|---|---|
out | object | An exact-input or exact-output quote from the official Raydium Transaction API. |
out fields#
| Field | Type |
|---|---|
inputMint | string |
outputMint | string |
inputAmountRaw | string |
outputAmountRaw | string |
routePlan | array |