File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
packages/transaction-interpreter Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @3loop/transaction-interpreter ' : patch
3+ ---
4+
5+ Add timestamp to interpreted transaction
Original file line number Diff line number Diff line change @@ -295,6 +295,7 @@ export function defaultEvent(event: DecodedTransaction): InterpretedTransaction
295295 action : "Called method '" + event . methodCall . name + "'" ,
296296 chain : event . chainID ,
297297 txHash : event . txHash ,
298+ timestamp : event . timestamp ,
298299 user : { address : event . fromAddress , name : null } ,
299300 method : event . methodCall . name ,
300301 assetsSent : assetsSent ( event . transfers , event . fromAddress ) ,
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ export type InterpretedTransaction = {
5555 chain : number
5656 action : string
5757 txHash : string
58+ timestamp : number
5859 user : Address
5960 method : string | null
6061 type : TransactionType
You can’t perform that action at this time.
0 commit comments