diff --git a/src/api.ts b/src/api.ts index e8b394e..e9f8c59 100755 --- a/src/api.ts +++ b/src/api.ts @@ -486,7 +486,7 @@ async function getExplorerPendingTransactions(): Promise { let currentPage = 1 let hasMorePages = true - while (hasMorePages) { + while (hasMorePages && currentPage <= 100) { try { const response = await axios.get( `${explorerURL}/api/originalTx?pending=true&decode=true&page=${currentPage}`