@raoul-picconi/mojito-sdk
    Preparing search index...
    • Hook for managing the network configuration

      Returns {
          network: null | Network;
          setNetwork: (params: { network: "mainnet" | "testnet" }) => Promise<void>;
      }

      An object containing:

      • network: The current network ('mainnet' | 'testnet')
      • setNetwork: Function to update the network configuration
      • network: null | Network
      • setNetwork: (params: { network: "mainnet" | "testnet" }) => Promise<void>