blokboard/ Open app

Node reference

Watch Raydium trades

Stream swaps for one selected pool

SolanaRaydium

Watch Raydium trades listens for activity in one pool and reports decoded trade details and token-balance changes.

Try it step by step#

  1. Choose the pool address. Use automatic pool-type detection unless you have a reason to set it explicitly.
  2. Start the listener and inspect a matching event’s signature, inputMint, outputMint, and deltas.
  3. Use the reported mint identities when formatting an observation message.

What to expect#

The result describes the observed transaction and indicates whether it was routed. A routed transaction can involve more than one operation.

Things to check#

  • Do not assume the first balance change describes only this pool’s swap.
  • Use the event’s token identities and instructionKind to interpret the data.
  • Receiving a trade event does not quote a new trade or guarantee the same price remains available.

Keep learning#

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

Parameters#

SettingDefaultWhat it does
Pool Address—Address identifying the pool for this operation.
Raydium ProductautoPool type to search or observe. Available choices depend on this operation.
Raydium API URL—Optional Raydium data API URL. Leave empty to use the configured network endpoint.
CommitmentconfirmedWatchers subscribe at confirmed or finalized commitment so transaction verification cannot miss one-shot processed events.
RPC URL{{global.chains.solana.rpcUrl}}Configured for Solana in workspace RPC settings.
Timeout (seconds)0Use 0 to wait until a matching notification arrives or the workflow is stopped.
On failurestopChoose whether a failed execution stops the workflow or only ends this path.
Retry attempts5How many times to reconnect after the subscription connection fails.

Raydium Product: Choices: Detect from API (auto), AMM v4 (ammV4), CPMM (cpmm), CLMM (clmm), Stable AMM (stable). Available under More options.

Raydium API URL: Available under More options.

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

RPC URL: Available under More options.

Timeout (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#

PortValue
inany

Outputs#

PortValueDescription
outobjectA successful direct swap for one required Raydium pool with complete signer-owned token deltas.

out fields#

FieldType
signaturestring
poolstring
userstring
inputMintstring
outputMintstring
instructionKindstring
routedboolean
deltasarray