-
-
Notifications
You must be signed in to change notification settings - Fork 714
Description
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.