From 89ca63fd3f975278c9d22244ef6a2e98f799e380 Mon Sep 17 00:00:00 2001 From: zhl Date: Fri, 13 Jan 2023 12:31:44 +0800 Subject: [PATCH] trans record add chain --- src/modules/TranRecord.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/modules/TranRecord.ts b/src/modules/TranRecord.ts index cfa1668..456d16f 100644 --- a/src/modules/TranRecord.ts +++ b/src/modules/TranRecord.ts @@ -15,6 +15,8 @@ class TranRecordClass extends BaseModule { public event: string @prop({ required: true }) public address!: string + @prop() + public chain: string @prop({ required: true }) public account!: string @prop() @@ -39,6 +41,7 @@ class TranRecordClass extends BaseModule { return { transactionHash: this.transactionHash, address: this.address, + chain: this.chain, event: this.event, blockNumber: this.blockNumber, blockHash: this.blockHash,