Node reference
RPC method
Call any Solana RPC method
RPC method calls a Solana RPC method directly. Use it when you need a response that a dedicated node does not expose, and know the method’s expected parameters.
Try it step by step#
- For a read-only first call, choose getSlot and enter [] in Params JSON.
- Run and inspect result, which contains the method’s returned value.
- For another method, follow its parameter order in the Solana RPC reference.
What to expect#
getSlot returns a slot value inside result. raw contains the RPC response envelope; its shape differs from a dedicated balance node’s output.
Things to check#
- Params JSON must be an array, even when there is only one argument.
- Different methods return different shapes. Inspect a result before writing expressions for it.
- The method list also includes operations such as sendTransaction. Selecting an RPC method is not inherently read-only.
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. |
| Method | getBalance | Solana RPC method to call. Its documentation defines the ordered Params JSON arguments. |
| Params JSON | [] | JSON array matching the Solana RPC HTTP method docs. |
| 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.
Method: Choices: getAccountInfo (getAccountInfo), getBalance (getBalance), getBlock (getBlock), getBlockCommitment (getBlockCommitment), getBlockHeight (getBlockHeight), getBlockProduction (getBlockProduction), getBlockTime (getBlockTime), getBlocks (getBlocks), getBlocksWithLimit (getBlocksWithLimit), getClusterNodes (getClusterNodes), getEpochInfo (getEpochInfo), getEpochSchedule (getEpochSchedule), getFeeForMessage (getFeeForMessage), getFirstAvailableBlock (getFirstAvailableBlock), getGenesisHash (getGenesisHash), getHealth (getHealth), getHighestSnapshotSlot (getHighestSnapshotSlot), getIdentity (getIdentity), getInflationGovernor (getInflationGovernor), getInflationRate (getInflationRate), getInflationReward (getInflationReward), getLargestAccounts (getLargestAccounts), getLatestBlockhash (getLatestBlockhash), getLeaderSchedule (getLeaderSchedule), getMaxRetransmitSlot (getMaxRetransmitSlot), getMaxShredInsertSlot (getMaxShredInsertSlot), getMinimumBalanceForRentExemption (getMinimumBalanceForRentExemption), getMultipleAccounts (getMultipleAccounts), getProgramAccounts (getProgramAccounts), getRecentPerformanceSamples (getRecentPerformanceSamples), getRecentPrioritizationFees (getRecentPrioritizationFees), getSignaturesForAddress (getSignaturesForAddress), getSignatureStatuses (getSignatureStatuses), getSlot (getSlot), getSlotLeader (getSlotLeader), getSlotLeaders (getSlotLeaders), getStakeActivation (getStakeActivation), getStakeMinimumDelegation (getStakeMinimumDelegation), getSupply (getSupply), getTokenAccountBalance (getTokenAccountBalance), getTokenAccountsByDelegate (getTokenAccountsByDelegate), getTokenAccountsByOwner (getTokenAccountsByOwner), getTokenLargestAccounts (getTokenLargestAccounts), getTokenSupply (getTokenSupply), getTransaction (getTransaction), getTransactionCount (getTransactionCount), getVersion (getVersion), getVoteAccounts (getVoteAccounts), isBlockhashValid (isBlockhashValid), minimumLedgerSlot (minimumLedgerSlot), requestAirdrop (requestAirdrop), sendTransaction (sendTransaction), simulateTransaction (simulateTransaction).
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 | any | Payload to forward with the RPC response. |
Outputs#
| Port | Value | Description |
|---|---|---|
out | object | Raw JSON-RPC response for any Solana HTTP method. |
out fields#
| Field | Type |
|---|---|
method | string |
result | unknown |
raw | object |