blokboard/ Open app

Node reference

Quote Raydium route

Quote exact-input or exact-output routing

SolanaRaydium

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#

  1. Enter the input and output mint addresses. Keep automatic mint-decimal lookup enabled unless you know both scales.
  2. Choose Exact input to specify what you spend, or Exact output to specify what you want to receive.
  3. 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#

SettingDefaultWhat it does
Input Mint—Mint of the token supplied to the swap route.
Output Mint—Mint of the token received from the swap route.
QuoteexactInExact 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 DecimalstrueRead missing decimal scales from the token mints instead of entering them manually.
Slippage (%)0.5Maximum tolerated execution change in percent; 0.5 means half a percent.
Transaction VersionLEGACYTransaction format requested from the route service.
CommitmentconfirmedHow 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 failurestopChoose whether a failed execution stops the workflow or only ends this path.
Retry attempts0How 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#

PortValueDescription
inanyPayload to preserve with the route quote.

Outputs#

PortValueDescription
outobjectAn exact-input or exact-output quote from the official Raydium Transaction API.

out fields#

FieldType
inputMintstring
outputMintstring
inputAmountRawstring
outputAmountRawstring
routePlanarray