File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
server/schemas/transaction Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -290,11 +290,11 @@ export const toTransactionSchema = (
290
290
retryCount : "retryCount" in transaction ? transaction . resendCount : 0 ,
291
291
onChainTxStatus : resolveOnchainStatus ( ) ,
292
292
effectiveGasPrice :
293
- "effectiveGasPrice" in transaction
293
+ "effectiveGasPrice" in transaction && transaction . effectiveGasPrice
294
294
? transaction . effectiveGasPrice . toString ( )
295
295
: null ,
296
296
cumulativeGasUsed :
297
- "cumulativeGasUsed" in transaction
297
+ "cumulativeGasUsed" in transaction && transaction . cumulativeGasUsed
298
298
? transaction . cumulativeGasUsed . toString ( )
299
299
: null ,
300
300
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ export type MinedTransaction = (
77
77
transactionType : TransactionType ;
78
78
onchainStatus : "success" | "reverted" ;
79
79
gasUsed : bigint ;
80
- effectiveGasPrice : bigint ;
81
- cumulativeGasUsed : bigint ;
80
+ effectiveGasPrice ? : bigint ;
81
+ cumulativeGasUsed ? : bigint ;
82
82
} ;
83
83
84
84
// ErroredTransaction received an error before or while sending to RPC.
You can’t perform that action at this time.
0 commit comments