Node reference
Token transfer
Sign and send tokens
Token transfer sends a quantity of one Solana token to another wallet. The mint, decimal count, and token program must describe the same token.
Try it step by step#
- On devnet, choose a token and test owner with a balance. Enter the recipient wallet and the token’s mint.
- Set the actual Decimals and Token Program for that mint. For a 6-decimal token, enter Amount 1.25 to send one and a quarter tokens.
- Run once, inspect the source and destination token accounts, then read the destination balance.
What to expect#
The example amount becomes amountRaw: "1250000". The output includes the mint, sourceTokenAccount, destinationTokenAccount, and transactionSignature.
Things to check#
- Do not guess decimals from a token’s name. An incorrect scale changes the raw amount.
- The recipient is a wallet; the resulting token account is a separate address.
- The sender needs SOL for fees in addition to the tokens being sent.
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. |
| Owner Wallet | {{global.main_wallet}} | Wallet address that owns the token accounts or positions to use. |
| Recipient Wallet | — | Recipient wallet. The transfer uses a token account for that wallet and mint. |
| Mint Address | — | Token mint identifying the coin. This is not a wallet or pool address. |
| Source Token Account | — | Token account to debit. Leave empty to use the owner’s associated token account. |
| Amount | — | Decimal amount in input-token units, before conversion to the smallest units. |
| Decimals | 6 | Number of fractional digits supported by the token. Use the mint’s actual value for transfers. |
| Token Program | token2022 | Token program that owns this mint: Token-2022 or the original token program. |
| 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. |
| 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.
Source Token Account: Available under More options.
Token Program: Choices: Token 2022 (token2022), Legacy SPL Token (legacy).
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.
Inputs#
| Port | Value | Description |
|---|---|---|
in | object | Payload containing or accompanying token transfer inputs. |
Outputs#
| Port | Value | Description |
|---|---|---|
out | object | Submitted SPL token transfer transaction. |
out fields#
| Field | Type |
|---|---|
mint | string |
sourceTokenAccount | string |
destinationTokenAccount | string |
amountRaw | string |
transactionSignature | string |