blokboard/ Open app

Node reference

Swap on Raydium

Send an audited CLMM/CPMM exact-input route

SolanaRaydiumraydiumSwap

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#

ParameterField typeDefaultDescription
RPC URL (rpcUrl)string{{global.chains.solana.rpcUrl}}Configured for Solana in workspace RPC settings.
Commitment (commitment)selectconfirmed
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)booleantrue
Slippage (%) (slippagePercent)string0.5
Priority Fee Ceiling (micro-lamports/CU) (computeUnitPriceMicroLamports)string100000The audited transaction may use a lower per-unit price, but never a higher one.
Wrap Input SOL (wrapSol)booleantrue
Unwrap Output SOL (unwrapSol)booleantrue
Input Token Account (inputAccount)stringIf set, this must be the wallet associated token account for the input mint.
Output Token Account (outputAccount)stringIf set, this must be the wallet associated token account for the output mint.
Transaction API URL (transactionApiUrl)string
Signing Layer (signingLayer)selectauto
Skip Preflight (skipPreflight)booleanfalse
Confirm (confirm)booleanfalse
On failure (onFailure)selectstopChoose whether a failed execution stops the workflow or only ends this path.
Retry attempts (retryCount)number0How 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#

PortValueDescription
inanyPayload to preserve with the submitted swap.

Outputs#

PortValueDescription
outobjectA freshly quoted, validated, signed, and submitted exact-input CLMM/CPMM Raydium route.

out fields#

FieldTypeDescription
inputMintstring
outputMintstring
inputAmountRawstring
outputAmountRawstring
transactionSignaturestring
validationobject

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.