Skip to content

An incorrect amount of fees is returned in the "fees" field #1227

@distxrtixn

Description

@distxrtixn

First example:
Trezor Arbitrum Blockbook (https://arb1.trezor.io/api/v2/tx/0xc53e311af533dc185732c2299f7c585a8a65f8b5319ab82a1b01f03c86c3e97b) returns 66373200000000 as the commission amount. The correct amount of commissions is 553110000000 (https://arbiscan.io/tx/0xc53e311af533dc185732c2299f7c585a8a65f8b5319ab82a1b01f03c86c3e97b).

Second example:
Trezor Arbitrum Blockbook (https://arb1.trezor.io/api/v2/tx/0x267c4c6c8d084e1c1a3bd977ee560137153eafccbb81442e1b65c545e6c25841) returns 304217352000 as the commission amount. The correct amount of commissions is 276691352000 (https://arbiscan.io/tx/0x267c4c6c8d084e1c1a3bd977ee560137153eafccbb81442e1b65c545e6c25841).

Presumably the incorrect calculation of commissions is due to the fact that the "gasPrice" field contains “Gas Price Bid” and not “Gas Price Paid”, which takes part in the formula for calculating the final amount of commissions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions