Get SOL Balance logo

Catalog action Solana Onchain

Check a wallet's native SOL balance on Solana. Returns both the raw lamport amount and a human-readable SOL value. Supports mainnet and devnet.

At a Glance

FieldValue
Action IDget-sol-balance
CategorySolana Onchain
ConnectorNot required
Requires gasNo
Funds movementNone declared
Tagsblockchain, solana, native, balance, query, read, sol, wallet

Payload Schema

FieldTypeRequiredDescription
addressstringYesSolana wallet address (base58 encoded)
chainIdnumberYesSolana network (Mainnet or Devnet)

Result Schema

FieldTypeRequiredDescription
balancestringYesBalance in lamports
balanceSOLstringYesHuman-readable balance in SOL (e.g. '1.5')
addressstringNo-
chainIdnumberNo-

Examples

json
{ "type": "get-sol-balance", "payload": { "address": "0x0000000000000000000000000000000000000000", "chainId": 7565164 }, "children": []}

Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.

Ask a question... ⌘I