GasInfo defines tx execution gas context.

from message cosmos.base.abci.v1beta1.GasInfo

Hierarchy

Constructors

Properties

gasUsed: bigint = protoInt64.zero

GasUsed is the amount of gas actually consumed.

from field: uint64 gas_used = 2;

gasWanted: bigint = protoInt64.zero

GasWanted is the maximum units of work we allow this tx to perform.

from field: uint64 gas_wanted = 1;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.base.abci.v1beta1.GasInfo" = "cosmos.base.abci.v1beta1.GasInfo"

Methods