Gas Schedule
QIP-004 §3Gas costs for all QVM operations. These values are governance-adjustable but fixed at launch. All costs are in gas units (1 gas = 1 unit at base_fee = 1).
Transaction Base Costs
Minimum gas for any transaction
Per zero byte of calldata
Per non-zero byte of calldata
Additional gas for deploying a contract
Per byte of deployed contract code
Storage Operations
First access to a storage slot
Subsequent access within same tx
First write to a storage slot
Subsequent write within same tx
Removing a storage entry
Cryptographic Operations
Base cost for SHA3-256 hash
Per 32-byte word hashed
Base cost for Poseidon2 hash
Per Goldilocks field element
Post-quantum signature verification
Post-quantum key encapsulation
Post-quantum key decapsulation
Cross-Contract Calls
First call to a contract address
Subsequent call to same address
Base cost to emit an event
Per indexed topic
Per byte of event data
Block Limits
Maximum gas per T_block (400ms)
Maximum nested contract call depth
Maximum deployed contract size
Maximum .qvm bytecode blob