blokboard/ Open app

Node reference

Create Raydium CPMM pool

Create a constant-product pool with initial liquidity

SolanaRaydium

Create Raydium CPMM pool creates a constant-product pool with initial deposits of both tokens. Use this when you intend to create a new pool, rather than deposit into an existing one.

Try it step by step#

  1. Choose the wallet and two different token mints.
  2. Enter Amount A and Amount B in those tokens’ display units and select an available fee tier.
  3. Review Start time and funding, then record poolAddress and transactionSignature after creation.

What to expect#

The output identifies the newly created pool and submitted operation. Both deposited amounts determine its initial token ratio.

Things to check#

  • The wallet needs both token amounts plus SOL for fees and account creation.
  • Use Add Raydium CPMM liquidity for an existing CPMM pool.
  • A fee configuration override must match a supported configuration; it is not an arbitrary fee percentage.

Keep learning#

Network setup: This node uses solana. See connections for RPC setup and Test mode for network selection.

Parameters#

SettingDefaultWhat it does
RPC URL{{global.chains.solana.rpcUrl}}Configured for Solana in workspace RPC settings.
CommitmentconfirmedHow 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.
Raydium API URL—Optional Raydium data API URL. Leave empty to use the configured network endpoint.
Compute Unit Limit600000Maximum compute units requested for the transaction.
Priority Fee Ceiling (micro-lamports/CU)100000The locally audited transaction may never exceed this price.
Signing LayerautoSigning provider to use. Auto selects an available provider for this run.
Skip PreflightfalseSkip the RPC preflight check before sending. Keep this off while learning.
ConfirmfalseWait for transaction confirmation after submission.
Mint A—First token mint used to initialize the pool.
Mint B—Second token mint used to initialize the pool; it must differ from Mint A.
Mint A Amount—Initial deposit in Mint A display units.
Mint B Amount—Initial deposit in Mint B display units.
Trade Fee Tier (%)0.25Matched against the latest official Raydium configuration list.
Fee Configuration Override—Optional supported Raydium fee configuration address overriding tier selection.
Start Time (Unix seconds)0Use 0 to open the pool immediately.
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.

RPC URL: Available under More options.

Commitment: Choices: Processed (processed), Confirmed (confirmed), Finalized (finalized). Available under More options.

Raydium API URL: Available under More options.

Compute Unit Limit: Available under More options. Limits: minimum 1; maximum 1400000.

Priority Fee Ceiling (micro-lamports/CU): 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.

Fee Configuration Override: Available under More options.

Start Time (Unix seconds): 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 Raydium result.

Outputs#

PortValueDescription
outobjectThe locally built, audited, signed, and submitted Raydium operation.

out fields#

FieldType
operationstring
poolAddressstring
positionAddressstring
positionNftAddressstring
transactionSignaturestring
validationobject