diff --git a/packages/bcp/src/cosmwasmconnection.ts b/packages/bcp/src/cosmwasmconnection.ts index bb52c528b0..5640c72f5b 100644 --- a/packages/bcp/src/cosmwasmconnection.ts +++ b/packages/bcp/src/cosmwasmconnection.ts @@ -295,8 +295,10 @@ export class CosmWasmConnection implements BlockchainConnection { ): Promise | FailedTransaction)[]> { const queryString = buildQueryString(query); const chainId = this.chainId(); - const { txs: responses } = await this.restClient.txs(queryString); - return Promise.all(responses.map(response => this.parseAndPopulateTxResponse(response, chainId))); + // TODO: we need pagination support + const response = await this.restClient.txs(queryString + "&limit=50"); + const { txs } = response; + return Promise.all(txs.map(tx => this.parseAndPopulateTxResponse(tx, chainId))); } public listenTx(