Node reference
Swap on Raydium
Send an audited CLMM/CPMM exact-input route
Send an audited CLMM/CPMM exact-input route
Part of Solana / Raydium. This reference is generated from the node definitions shipped with Blokboard.
When to use it#
- Swap tokens through an audited Raydium route.
This node uses solana. Configure the runtime’s RPC route and check Test mode. For signing operations, review wallet safety.
Parameters#
| Parameter | Field type | Default | Description |
|---|---|---|---|
RPC URL (rpcUrl) | string | {{global.chains.solana.rpcUrl}} | Configured for Solana in workspace RPC settings. |
Commitment (commitment) | select | confirmed | |
Wallet (userAddress) | string | {{global.main_wallet}} | |
Input Mint (inputMintAddress) | string | — | |
Output Mint (outputMintAddress) | string | — | |
Amount (amount) | string | — | |
Input Decimals (inputDecimals) | number | — | |
Output Decimals (outputDecimals) | number | — | |
Look Up Missing Decimals (lookupMintDecimals) | boolean | true | |
Slippage (%) (slippagePercent) | string | 0.5 | |
Priority Fee Ceiling (micro-lamports/CU) (computeUnitPriceMicroLamports) | string | 100000 | The audited transaction may use a lower per-unit price, but never a higher one. |
Wrap Input SOL (wrapSol) | boolean | true | |
Unwrap Output SOL (unwrapSol) | boolean | true | |
Input Token Account (inputAccount) | string | — | If set, this must be the wallet associated token account for the input mint. |
Output Token Account (outputAccount) | string | — | If set, this must be the wallet associated token account for the output mint. |
Transaction API URL (transactionApiUrl) | string | — | |
Signing Layer (signingLayer) | select | auto | |
Skip Preflight (skipPreflight) | boolean | false | |
Confirm (confirm) | boolean | false | |
On failure (onFailure) | select | stop | Choose whether a failed execution stops the workflow or only ends this path. |
Retry attempts (retryCount) | number | 0 | How many additional attempts to make after the first failure. |
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.
Signing Layer: Choices: Auto (auto), Application (executable), Extension (extension), Web Vault (web). 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; no declared maximum.
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 | Description |
|---|---|---|
inputMint | string | |
outputMint | string | |
inputAmountRaw | string | |
outputAmountRaw | string | |
transactionSignature | string | |
validation | object |
Use in a workflow#
Connect this node to the path that should execute it. Run a small example, inspect its actual output, and use the expression picker to select values for later nodes.
See expressions for mapping values, workflow basics for connections, and troubleshooting for failed runs.