8000 An incorrect amount of fees is returned in the "fees" field · Issue #1227 · trezor/blockbook · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
distxrtixn opened this issue Mar 31, 2025 · 1 comment
Open

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

distxrtixn opened this issue Mar 31, 2025 · 1 comment

Comments

@distxrtixn
Copy link
distxrtixn commented Mar 31, 2025

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.

@martinboehm
Copy link
Contributor

Thank you. We will look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0