diff --git a/apps/dashboard/src/app/nebula-app/(app)/components/TransactionsSection/TransactionsSection.tsx b/apps/dashboard/src/app/nebula-app/(app)/components/TransactionsSection/TransactionsSection.tsx
index 004a98d134f..b67f9a9a126 100644
--- a/apps/dashboard/src/app/nebula-app/(app)/components/TransactionsSection/TransactionsSection.tsx
+++ b/apps/dashboard/src/app/nebula-app/(app)/components/TransactionsSection/TransactionsSection.tsx
@@ -88,7 +88,7 @@ function TransactionInfo(props: {
@@ -167,20 +167,29 @@ export function TransactionsSection(props: {
const url = new URL(
`https://insight.${isProd ? "thirdweb" : "thirdweb-dev"}.com/v1/wallets/${account.address}/transactions`,
);
- url.searchParams.set("limit", "10");
+ url.searchParams.set("limit", "20");
url.searchParams.set("decode", "true");
url.searchParams.set("clientId", nebulaAppThirdwebClient.clientId);
+ const threeMonthsAgoUnixTime = Math.floor(
+ (Date.now() - 3 * 30 * 24 * 60 * 60 * 1000) / 1000,
+ );
+
+ url.searchParams.set(
+ "filter_block_timestamp_gte",
+ `${threeMonthsAgoUnixTime}`,
+ );
+
for (const chain of chains) {
url.searchParams.append("chain", chain.toString());
}
const response = await fetch(url.toString());
const json = (await response.json()) as {
- data: WalletTransaction[];
+ data?: WalletTransaction[];
};
- return json.data;
+ return json.data ?? [];
},
retry: false,
enabled: !!account && !!activeChain,