Function createSeiLCDClient

Creates a SeiLCDClient, but exported in a way where tree-shaking can actually happen. (Not neccisarily the inner-modules, but you won't get all the RPC stuff bloating your bundle if you're not using this)

  • Parameters

    • __namedParameters: {
          restEndpoint: string;
      }
      • restEndpoint: string

    Returns Promise<{
        cosmos: {
            accesscontrol_x: {
                v1beta1: LCDQueryClient;
            };
            auth: {
                v1beta1: LCDQueryClient;
            };
            bank: {
                v1beta1: LCDQueryClient;
            };
            distribution: {
                v1beta1: LCDQueryClient;
            };
            feegrant: {
                v1beta1: LCDQueryClient;
            };
            gov: {
                v1beta1: LCDQueryClient;
            };
            staking: {
                v1beta1: LCDQueryClient;
            };
            tx: {
                v1beta1: LCDQueryClient;
            };
            upgrade: {
                v1beta1: LCDQueryClient;
            };
        };
        seiprotocol: {
            seichain: {
                dex: LCDQueryClient;
                epoch: LCDQueryClient;
                evm: LCDQueryClient;
                mint: LCDQueryClient;
                oracle: LCDQueryClient;
                tokenfactory: LCDQueryClient;
            };
        };
    }>