trans record add chain

This commit is contained in:
zhl 2023-01-13 12:31:44 +08:00
parent f14a161384
commit 89ca63fd3f

View File

@ -15,6 +15,8 @@ class TranRecordClass extends BaseModule {
public event: string public event: string
@prop({ required: true }) @prop({ required: true })
public address!: string public address!: string
@prop()
public chain: string
@prop({ required: true }) @prop({ required: true })
public account!: string public account!: string
@prop() @prop()
@ -39,6 +41,7 @@ class TranRecordClass extends BaseModule {
return { return {
transactionHash: this.transactionHash, transactionHash: this.transactionHash,
address: this.address, address: this.address,
chain: this.chain,
event: this.event, event: this.event,
blockNumber: this.blockNumber, blockNumber: this.blockNumber,
blockHash: this.blockHash, blockHash: this.blockHash,