File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/lib Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11import { THIRDWEB_ENGINE_CLOUD_URL } from "@/constants/env" ;
22import type { TransactionStats } from "../../../../../../../../types/analytics" ;
33import { getAuthToken } from "../../../../../../api/lib/getAuthToken" ;
4+ import type { Address , Hex } from "thirdweb" ;
45
56// Define the structure of the data we expect back from our fetch function
67export type TransactionSummaryData = {
@@ -147,8 +148,8 @@ export async function getTransactionsChart({
147148}
148149
149150type TransactionParam = {
150- to : string ;
151- data : string ;
151+ to : Address ;
152+ data : Hex ;
152153 value : string ;
153154} ;
154155
@@ -167,9 +168,9 @@ type Transaction = {
167168 id : string ;
168169 batchIndex : number ;
169170 chainId : string ;
170- from : string ;
171+ from : Address ;
171172 transactionParams : TransactionParam [ ] ;
172- transactionHash : string | null ;
173+ transactionHash : Hex | null ;
173174 confirmedAt : string | null ;
174175 confirmedAtBlockNumber : number | null ;
175176 enrichedData : unknown [ ] ;
You can’t perform that action at this time.
0 commit comments