Node reference
SOL balance
Read an account balance
Read an account balance
Part of Solana / Solana. This reference is generated from the node definitions shipped with Blokboard.
When to use it#
- Check how much SOL a Solana wallet holds.
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 | |
Address (address) | string | {{global.main_wallet}} | |
Include Context (withContext) | boolean | true | Includes the RPC slot context from getBalance. |
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.
Include Context: 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 to forward with the balance result. |
Outputs#
| Port | Value | Description |
|---|---|---|
out | object | SOL balance for a wallet or account. |
out fields#
| Field | Type | Description |
|---|---|---|
address | string | |
lamports | string | |
lamportsNumber | number | |
sol | number | |
solString | string | |
context.slot | number |
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.