Node reference
Swap coin
Buy or sell on the bonding curve
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#
| Parameter | Field type | Default | Description |
|---|---|---|---|
RPC URL (rpcUrl) | string | {{global.chains.solana.rpcUrl}} | Configured for Solana in workspace RPC settings. |
Commitment (commitment) | select | confirmed | |
Wallet (userAddress) | string | {{global.main_wallet}} | |
Mint Address (mintAddress) | string | — | |
Trade (side) | tabs | buy | |
Amount in (amountUnit) | swap-toggle | quote | Switch whether the decimal amount is denominated in the quote asset or token. |
Amount (amount) | string | — | Enter a decimal amount, for example 10 SOL or 100000 tokens. |
Slippage (%) (slippagePercent) | string | 1 | |
Priority Fee (SOL) (priorityFeeSol) | string | 0.0001 | Total priority fee across 200,000 compute units. |
Signing Layer (signingLayer) | select | auto | |
Skip Preflight (skipPreflight) | boolean | false | |
Confirm (confirm) | boolean | false | |
On failure (onFailure) | select | stop | Choose whether a failed execution stops the workflow or only ends this path. |
Retry attempts (retryCount) | number | 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.
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#
| Port | Value | Description |
|---|---|---|
in | any | Payload containing or accompanying a Pump mint. |
Outputs#
| Port | Value | Description |
|---|---|---|
out | object | Submitted Pump bonding-curve buy or sell with calculated limits. |
out fields#
| Field | Type | Description |
|---|---|---|
side | string | |
mint | string | |
tokenAmountRaw | string | |
quoteAmountRaw | string | |
limitAmountRaw | string | |
transactionSignature | string |
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.