Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt

Use this file to discover all available pages before exploring further.

React Native
    // Using the RN client directly
    import { dynamicClient } from '<path-to-your-dynamicClient>';

    export const getPrimaryBalance = async () => {
      const wallet = dynamicClient.wallets.primary;
      if (!wallet) return null;
      const balance = await wallet.getBalance();
      return balance?.toString() ?? null;
    }