blokboard/ Open app

Node reference

Program subscribe

Stream program account changes

SolanasolanaProgramSubscribe

Stream program account changes

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

When to use it#

  • Watch account changes belonging to a Solana program.

This node uses solana. Configure the runtime’s RPC route and check Test mode. For signing operations, review wallet safety.

This is an event source. It can keep listening and emit values as events arrive; stop the workflow when you want to stop listening.

Parameters#

ParameterField typeDefaultDescription
Program ID (programId)string
Account filters (filters)text(empty)Optional JSON array of dataSize or memcmp filters.
Account data (encoding)selectbase64
Commitment (commitment)selectconfirmed
RPC URL (rpcUrl)string{{global.chains.solana.rpcUrl}}Configured for Solana in workspace RPC settings.
Timeout (seconds) (timeoutSeconds)number0Use 0 to wait until a matching notification arrives or the workflow is stopped.
On failure (onFailure)selectstopChoose whether a failed execution stops the workflow or only ends this path.
Retry attempts (retryCount)number5How many times to reconnect after the subscription connection fails.

Account filters: Available under More options.

Account data: Choices: Base64 (base64), Base58 (base58), Base64 + zstd (base64+zstd), JSON parsed (jsonParsed). Available under More options.

Commitment: Choices: Processed (processed), 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; no declared maximum.

Inputs#

PortValueDescription
inany

Outputs#

PortValueDescription
outobjectThe next changed account owned by the program.

out fields#

FieldTypeDescription
programIdstring
accountIdstring
context.slotnumber
account.lamportsstring
account.lamportsNumbernumber
account.ownerstring
account.executableboolean
account.rentEpochnumber
account.spacenumber
account.dataany
account.dataEncodingstring

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.