The energy cost is assigned according to the formula: A * signatureCount + B * size + C_t, where C_t is a transaction specific cost.
The transaction specific cost can be found at https://github.com/Concordium/concordium-base/blob/main/haskell-src/Concordium/Cost.hs.
the energy cost for the transaction, to be set in the transaction header
number of signatures for the transaction
size of the payload in bytes
a transaction specific cost
Generated using TypeDoc
The energy cost is assigned according to the formula: A * signatureCount + B * size + C_t, where C_t is a transaction specific cost.
The transaction specific cost can be found at https://github.com/Concordium/concordium-base/blob/main/haskell-src/Concordium/Cost.hs.
Returns
the energy cost for the transaction, to be set in the transaction header