GasInfo defines tx execution gas context.

interface GasInfo {
    gasUsed: bigint;
    gasWanted: bigint;
}

Properties

Properties

gasUsed: bigint

GasUsed is the amount of gas actually consumed.

gasWanted: bigint

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