Function useAddressList

  • Get the user address for a list of cosmos chain IDs

    Parameters

    • __namedParameters: {
          chainIds: undefined | string[];
          chains?: SkipDestinationChain[];
          destinationAddress: undefined | string;
          destinationChainId: undefined | string;
          isTestnet?: boolean;
          userAddress: string;
          walletClient: WalletClient;
      }
      • chainIds: undefined | string[]
      • Optional chains?: SkipDestinationChain[]
      • destinationAddress: undefined | string
      • destinationChainId: undefined | string
      • Optional isTestnet?: boolean
      • userAddress: string
      • walletClient: WalletClient

    Returns {
        error: undefined | string;
        userAddressList: null | string[];
    }

    list of user addresses for each chain

    • error: undefined | string
    • userAddressList: null | string[]