diff --git a/packages/stargate/src/stargateclient.ts b/packages/stargate/src/stargateclient.ts index 1837b7ca..2869a0b4 100644 --- a/packages/stargate/src/stargateclient.ts +++ b/packages/stargate/src/stargateclient.ts @@ -130,6 +130,10 @@ export class StargateClient { } } + protected getTmClient(): Tendermint34Client | undefined { + return this.tmClient; + } + protected forceGetTmClient(): Tendermint34Client { if (!this.tmClient) { throw new Error( @@ -139,6 +143,10 @@ export class StargateClient { return this.tmClient; } + protected getQueryClient(): (QueryClient & AuthExtension & BankExtension) | undefined { + return this.queryClient; + } + protected forceGetQueryClient(): QueryClient & AuthExtension & BankExtension { if (!this.queryClient) { throw new Error("Query client not available. You cannot use online functionality in offline mode.");