//@ts-nocheck
import { Tendermint34Client } from '@cosmjs/tendermint-rpc';
import { QueryClient } from '@cosmjs/stargate';
export const createRPCQueryClient = async ({ rpcEndpoint, }) => {
    const tmClient = await Tendermint34Client.connect(rpcEndpoint);
    const client = new QueryClient(tmClient);
    return {
        circle: {
            cctp: {
                v1: (await import('./cctp/v1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
        },
        cosmos: {
            auth: {
                v1beta1: (await import('../cosmos/auth/v1beta1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            authz: {
                v1beta1: (await import('../cosmos/authz/v1beta1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            bank: {
                v1beta1: (await import('../cosmos/bank/v1beta1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            base: {
                node: {
                    v1beta1: (await import('../cosmos/base/node/v1beta1/query.rpc.Service.js')).createRpcQueryExtension(client),
                },
            },
            circuit: {
                v1: (await import('../cosmos/circuit/v1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            consensus: {
                v1: (await import('../cosmos/consensus/v1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            distribution: {
                v1beta1: (await import('../cosmos/distribution/v1beta1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            feegrant: {
                v1beta1: (await import('../cosmos/feegrant/v1beta1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            gov: {
                v1: (await import('../cosmos/gov/v1/query.rpc.Query.js')).createRpcQueryExtension(client),
                v1beta1: (await import('../cosmos/gov/v1beta1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            group: {
                v1: (await import('../cosmos/group/v1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            mint: {
                v1beta1: (await import('../cosmos/mint/v1beta1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            params: {
                v1beta1: (await import('../cosmos/params/v1beta1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            staking: {
                v1beta1: (await import('../cosmos/staking/v1beta1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
            tx: {
                v1beta1: (await import('../cosmos/tx/v1beta1/service.rpc.Service.js')).createRpcQueryExtension(client),
            },
            upgrade: {
                v1beta1: (await import('../cosmos/upgrade/v1beta1/query.rpc.Query.js')).createRpcQueryExtension(client),
            },
        },
    };
};
//# sourceMappingURL=rpc.query.js.map