blokboard/ Open app

Node reference

Swap coin

Buy or sell on the bonding curve

SolanaPump.funpumpSwapCoin

Buy or sell on the bonding curve

Part of Solana / Pump.fun. This reference is generated from the node definitions shipped with Blokboard.

When to use it#

  • Buy or sell a Pump token before it graduates.

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}}
Mint Address (mintAddress)string
Trade (side)tabsbuy
Amount in (amountUnit)swap-togglequoteSwitch whether the decimal amount is denominated in the quote asset or token.
Amount (amount)stringEnter a decimal amount, for example 10 SOL or 100000 tokens.
Slippage (%) (slippagePercent)string1
Priority Fee (SOL) (priorityFeeSol)string0.0001Total priority fee across 200,000 compute units.
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.

Trade: Choices: Buy (buy), Sell (sell).

Amount in: Choices: SOL / Quote (quote), Token (token).

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 containing or accompanying a Pump mint.

Outputs#

PortValueDescription
outobjectSubmitted Pump bonding-curve buy or sell with calculated limits.

out fields#

FieldTypeDescription
sidestring
mintstring
tokenAmountRawstring
quoteAmountRawstring
limitAmountRawstring
transactionSignaturestring

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.