Is there a way to check the exact final_fee that the signer of an extrinsic was charged? I'd like to do so from subxt for monitoring purposes, but could not find this info in the TransactionProgress struct. If this can't be read from events, what would I have to query given the blockhash of the finalized extrinsic?

For reference, I asked the same question in the subxt repo: https://github.com/paritytech/subxt/issues/527

1 Answer 1


There is no event for the final fee, but you can calculate it either using the runtime API for transaction_payment.query_info or by executing the fee calculation from weight/length yourself. Sidecar does the latter here (note that this is an imported Rust package, just linking to its use to see the context).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.