Solana icon

Solana

Solana blockchain operations

Overview

This node interacts with the Solana blockchain to perform various operations such as checking wallet balance, transferring SOL tokens, and retrieving token account balances. Specifically, the 'Transfer SOL' operation allows users to send a specified amount of SOL (in lamports) from their wallet to another Solana wallet address. This is useful for automating payments, managing funds, or integrating Solana transactions into workflows.

Use Case Examples

  1. Automate sending SOL payments to multiple recipients.
  2. Integrate SOL transfers into a financial application or service.
  3. Manage wallet balances and perform transfers programmatically.

Properties

Name Meaning
Wallet Address To The Solana wallet address to transfer the SOL to
Amount The amount of LAMPORTS to transfer

Output

JSON

  • txHash - The transaction hash of the SOL transfer, confirming the transaction on the Solana blockchain

Dependencies

  • Solana blockchain connection via RPC URL and WebSocket endpoint
  • Private key for signing transactions (provided as a base58 encoded secret key)

Troubleshooting

  • Ensure the private key is correctly provided and base58 encoded; otherwise, transaction signing will fail.
  • Verify the recipient wallet address is valid and correctly formatted to avoid transfer errors.
  • Check that the amount specified is in lamports (1 SOL = 1,000,000,000 lamports) and that the wallet has sufficient balance.
  • Network connectivity issues with the Solana RPC endpoint can cause failures; verify RPC URL and WebSocket endpoint are reachable.

Links

Discussion