Squash tx gas used/limit info

This commit is contained in:
Willian Mitsuda 2021-07-28 04:29:36 -03:00
parent d893eb8545
commit e354973a63
1 changed files with 4 additions and 7 deletions

View File

@ -170,14 +170,11 @@ const Details: React.FC<DetailsProps> = ({
)}
</div>
</InfoRow>
<InfoRow title="Gas Used/Limit">
<GasValue value={txData.gasUsed} /> / <GasValue value={txData.gasLimit} />{" "}
({(txData.gasUsedPerc * 100).toFixed(2)}%)
</InfoRow>
<InfoRow title="Ether Price">N/A</InfoRow>
<InfoRow title="Gas Limit">
<GasValue value={txData.gasLimit} />
</InfoRow>
<InfoRow title="Gas Used by Transaction">
<GasValue value={txData.gasUsed} /> (
{(txData.gasUsedPerc * 100).toFixed(2)}%)
</InfoRow>
<InfoRow title="Nonce">{txData.nonce}</InfoRow>
<InfoRow title="Position in Block">
<span className="rounded px-2 py-1 bg-gray-100 text-gray-500 text-xs">