Module Attributes.Block

Tags to add to a span or event handling a given block.

val number : Evm_node_lib_dev_encoding.Ethereum_types.quantity -> Opentelemetry.key_value

Integer representation of the block number being processed

val execution_gas : Z.t -> Opentelemetry.key_value

Integer representation of the amount of gas units necessary to process the block, in EVM-equivalent units (raw EVM gas plus Michelson gas weighted by michelson_to_evm_gas_multiplier).

val evm_execution_gas : Z.t -> Opentelemetry.key_value

Raw EVM execution gas consumed by EVM transactions of the block.

val michelson_execution_gas : Z.t -> Opentelemetry.key_value

Raw Michelson execution gas consumed by Michelson operations of the block (in gas units, not milligas).

val transaction_count : int -> Opentelemetry.key_value

Integer representation of the number of transactions included in the block being processed