Node reference
Create Raydium CPMM pool
Create a constant-product pool with initial liquidity
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#
- Choose the wallet and two different token mints.
- Enter Amount A and Amount B in those tokens’ display units and select an available fee tier.
- 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#
| 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. |
| Raydium API URL | — | Optional Raydium data API URL. Leave empty to use the configured network endpoint. |
| Compute Unit Limit | 600000 | Maximum compute units requested for the transaction. |
| Priority Fee Ceiling (micro-lamports/CU) | 100000 | The locally audited transaction may never exceed this price. |
| Signing Layer | auto | Signing provider to use. Auto selects an available provider for this run. |
| Skip Preflight | false | Skip the RPC preflight check before sending. Keep this off while learning. |
| Confirm | false | Wait 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.25 | Matched against the latest official Raydium configuration list. |
| Fee Configuration Override | — | Optional supported Raydium fee configuration address overriding tier selection. |
| Start Time (Unix seconds) | 0 | Use 0 to open the pool immediately. |
| 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. |
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#
| Port | Value | Description |
|---|---|---|
in | any | Payload to preserve with the Raydium result. |
Outputs#
| Port | Value | Description |
|---|---|---|
out | object | The locally built, audited, signed, and submitted Raydium operation. |
out fields#
| Field | Type |
|---|---|
operation | string |
poolAddress | string |
positionAddress | string |
positionNftAddress | string |
transactionSignature | string |
validation | object |