diff --git a/src/Transaction.tsx b/src/Transaction.tsx index 5e8bb3f..ae4fb54 100644 --- a/src/Transaction.tsx +++ b/src/Transaction.tsx @@ -97,10 +97,8 @@ const Transaction: React.FC = () => { maxFeePerGas: _response.maxFeePerGas, maxPriorityFeePerGas: _response.maxPriorityFeePerGas, gasPrice: _response.gasPrice!, - gasLimit: _response.gasLimit, gasUsed: _receipt.gasUsed, - gasUsedPerc: - _receipt.gasUsed.toNumber() / _response.gasLimit.toNumber(), + gasLimit: _response.gasLimit, nonce: _response.nonce, data: _response.data, logs: _receipt.logs, diff --git a/src/transaction/Details.tsx b/src/transaction/Details.tsx index 2619204..65a4592 100644 --- a/src/transaction/Details.tsx +++ b/src/transaction/Details.tsx @@ -177,7 +177,13 @@ const Details: React.FC = ({ /{" "} - + N/A diff --git a/src/types.ts b/src/types.ts index 144b9c3..64fba94 100644 --- a/src/types.ts +++ b/src/types.ts @@ -54,9 +54,8 @@ export type TransactionData = { maxPriorityFeePerGas?: BigNumber | undefined; fee: BigNumber; gasPrice: BigNumber; - gasLimit: BigNumber; gasUsed: BigNumber; - gasUsedPerc: number; + gasLimit: BigNumber; nonce: number; data: string; logs: ethers.providers.Log[];