🚀 Stablecoin Accounts are live! Learn more

Dynamic home pagelight logodark logo
  • Explore Dynamic
  • Start Free
  • Start Free
Documentation
React SDK
React Native SDK
Swift SDK
Flutter SDK
Tutorials
API Reference
Troubleshooting
Live Support
  • System Status
  • Changelog
  • Overview & Setup
    • Introduction to the SDK
    • Changelog
    • Using Wagmi
    • Using Ethers
    • SDK/User Loading States
    • Examples
    Upgrade Guides
    • Upgrade from V3 to v4
    • Upgrade from V2 to V3
    • Upgrade from V1 to V2
    • Upgrade from V0 to V1
    Providers & Connectors
    • Providers and Connectors Introduction
    • DynamicContextProvider
    • DynamicWagmiConnector
    UI Components
    • Components Introduction
    • DynamicBridgeWidget
    • DynamicConnectButton
    • DynamicEmbeddedWidget
    • DynamicMultiWalletPromptsWidget
    • DynamicWidget
    • DynamicUserProfile
    • DynamicNav
    Hooks
    • Hooks Introduction
    • Core Hooks
    • Login & User Management
    • Wallets
    • Embedded Wallets
    • Funding
    Events
    • Events Introduction
    • Dynamic Events
    • Event Callbacks
    Handlers
    • Handlers Introduction
    • handleConnectedWallet
    • handleAuthenticatedUser
    Objects & Utilities
    • React Objects Introduction
    • Objects
    • Utilities
    On this page
    • Wallets
    • Chains
    • Users
    • UI
    Overview & Setup

    Examples

    You’ll find lots of examples throughout the guides in the documentation, from wallets to users to headless etc. Here are some of the most common:

    ​
    Wallets

    Switch primary wallet Get balance for all connected wallets Get balance for a single wallet Fetch token balances Send a transaction Send a transaction with Wagmi Send balance using embedded wallet Sign a message Send a legacy Solana transaction Send a versioned Solana transaction

    ​
    Chains

    Switch networks

    ​
    Users

    Get the user profile

    ​
    UI

    Programmatically adapt authentication methods Programmatically adapt the wallet selection view

    Was this page helpful?

    SDK/User Loading StatesUpgrade from V3 to v4
    twitterlinkedinslack
    Powered by Mintlify
    Assistant
    Responses are generated using AI and may contain mistakes.