Node reference
Swap on Raydium
Send an audited CLMM/CPMM exact-input route
Explore Raydium automation and workflows.
Swap on Raydium obtains a fresh exact-input route, checks the returned transaction, signs it, and submits it. Use Quote Raydium route first to learn the pair and amount units.
Try it step by step
- Choose the wallet and the input/output mints. Enter Amount in input-token units.
- Review decimal lookup, slippage, and SOL wrapping settings for this pair.
- Execute only after reviewing the setup, then inspect transactionSignature and validation alongside the returned amounts.
What to expect
The result includes the mint pair, raw amounts, transaction signature, and validation details. An earlier Quote node does not lock the swap to that old price.
Things to check
- An explicit input or output token account must be the wallet’s associated token account for that mint.
- Wrap and unwrap settings matter when using SOL.
- If the transaction is rejected by verification, inspect the reason instead of assuming that every externally supplied route is acceptable.
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 |
|---|---|---|
| RPC URL | {{global.chains.solana.rpcUrl}} | Configured for Solana in workspace RPC settings. |
| Commitment | confirmed | How far a Solana block must be confirmed before its data is used. |
| Wallet | {{global.main_wallet}} | Wallet that owns the assets or position and signs this operation. |
| Input Mint | — | Mint of the token supplied to the swap route. |
| Output Mint | — | Mint of the token received from the swap route. |
| Amount | — | Decimal amount in input-token units, before conversion to the smallest units. |
| 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. |
| Priority Fee Ceiling (micro-lamports/CU) | 100000 | The audited transaction may use a lower per-unit price, but never a higher one. |
| Wrap Input SOL | true | Allow native SOL to be wrapped for the input side of the swap. |
| Unwrap Output SOL | true | Unwrap output wrapped SOL into native SOL. |
| Input Token Account | — | If set, this must be the wallet associated token account for the input mint. |
| Output Token Account | — | If set, this must be the wallet associated token account for the output mint. |
| Transaction API URL | — | Optional Raydium transaction API URL used to request the route. |
| Skip Preflight | false | Skip the RPC preflight check before sending. Keep this off while learning. |
| Confirm | false | Wait for transaction confirmation after submission. |
| 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. |
| Node name | (empty) | Custom display name. References and connections keep their existing identifiers. |
RPC URL: Available under More options.
Commitment: Choices: Processed (processed), Confirmed (confirmed), Finalized (finalized). Available under More options.
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.
Priority Fee Ceiling (micro-lamports/CU): Available under More options.
Wrap Input SOL: Available under More options.
Unwrap Output SOL: Available under More options.
Input Token Account: Available under More options.
Output Token Account: Available under More options.
Transaction API URL: Available under More options.
Skip Preflight: Available under More options.
Confirm: 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.
Node name: Double-brace expressions are not resolved in this field.
Inputs
| Port | Value | Description |
|---|---|---|
in | any | Payload to preserve with the submitted swap. |
Outputs
| Port | Value | Description |
|---|---|---|
out | object | A freshly quoted, validated, signed, and submitted exact-input CLMM/CPMM Raydium route. |
out fields
| Field | Type |
|---|---|
inputMint | string |
outputMint | string |
inputAmountRaw | string |
outputAmountRaw | string |
transactionSignature | string |
validation | object |