polkascan / polkascan-os

Polkascan Open Source
https://polkascan.io
GNU General Public License v3.0
51 stars 54 forks source link

Display fees in transactions #2

Open mariopino opened 5 years ago

mariopino commented 5 years ago

Hi PolkaScan team!

It would be useful for users to show the fees related to a transaction in PolkaScan.

Thank you for your awesome work!

emielsebastiaan commented 5 years ago

Calculation of fees so far were hard (near impossible) due to the weight-component as documented here: https://research.web3.foundation/en/latest/polkadot/Token%20Economics/

Gavin drafted the following PR (substrate) today, which should allow us to calculate the exact fees per transaction. https://github.com/paritytech/substrate/pull/4148

This issue is high on our priority list.

mariopino commented 5 years ago

Cool! Will be quite useful for users.

joepetrowski commented 4 years ago

FYI you can now get fee from the queryInfo RPC endpoint.