Does the 9190 version of westend change something with fees? We used to parse a transaction and check for a field called partialFee but looks like it's not present anymore since I see this for a block now instead:

"info":{"error":"Fee calculation not supported for 9190#westend"}

On latest substrate/polkadot versions.

Polkadot v0.9.18 substrate-api-sidecar v11.3.16


1 Answer 1


So for sidecar specifically this is a bug due to TransactionByteFee being changed to LengthToFee in v9190. We use that perByte value to help calculate the partialFee within our helper package called @substrate/calc.

See the following PR which introduced these changes inside of polkadot: https://github.com/paritytech/polkadot/pull/5028

See the following PR that fixes this issue inside of substrate-api-sidecar: https://github.com/paritytech/substrate-api-sidecar/pull/900

As soon as that PR is merged a new patch release will be shipped, there is a tracking issue in github here: https://github.com/paritytech/substrate-api-sidecar/issues/899

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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