Overview
Build, sign, and send SOL transactions with blockhash management.Prerequisites
- Dynamic SDK initialized (see Installation Guide)
- User authenticated (see Authentication Guide)
- Solana wallet available (see Wallet Creation)
- SolanaWeb3 library added to your project
Send SOL Transaction
Sign Transaction (Without Sending)
Lamports Conversion Helpers
Transaction Explorer Links
Best Practices
- Get fresh blockhash immediately before sending (valid ~60 seconds)
- Validate addresses before creating transactions
- Check balance includes transaction fees (~5000 lamports)
- Show transaction confirmations to users
- Display transaction status with explorer links
Error Handling
Common Transaction Errors
Troubleshooting
Transaction not confirming: Check transaction status on explorer Blockhash expired: Get fresh blockhash immediately before sending, implement retry logic Network mismatch: Use devnet for testing, mainnet for production Insufficient funds: Get devnet SOL from faucet.solana.com for testingWhat’s Next
- Solana Connection - RPC setup and configuration
- Sign Solana Messages - Sign messages with wallets
- Token Balances - Query SOL and token balances
- Network Management - Switch between networks