Skip to main content

Overview

The Solana connection allows you to interact with the Solana blockchain, query data, and prepare transactions using the Flutter Solana package.

Prerequisites

  • Dynamic SDK initialized (see Quickstart)
  • User authenticated (see Authentication)
  • Solana wallets enabled in your Dynamic dashboard
  • dynamic_sdk_solana package installed

Create Connection

Get Latest Blockhash

Required for building transactions:

Query Account Balance

Get Solana Wallets

Solana Networks

Access configured Solana networks:

Flutter Widget Example

Connection Methods

Balance Conversion Helpers

Complete Balance Display

Error Handling

Dependencies

To build Solana transactions, ensure you have the required package:

Next Steps

Last modified on February 3, 2026