Expand description
Fee calculation helpers
Structs§
- GasData
- Auxiliary struct representing the full gas usage breakdown of a transaction.
Constants§
- PALLAS_
SCHNORR_ SIGNATURE_ FEE - Fixed fee for verifying Schnorr signatures using the Pallas elliptic curve
Functions§
- circuit_
gas_ use - Calculate the gas use for verifying a given zkas circuit. This function assumes that the zkbin was properly decoded.
- compute_
fee - Auxiliary function to compute the corresponding fee value for the provided gas.