Class SimulateTxSuccessResponse

Hierarchy (view full)

Implements

Constructors

Properties

gas_info: {
    gas_used: string;
    gas_wanted: string;
}

How much gas was used in the simulation.

result: {
    data: string;
    events: {
        attributes: {
            index: boolean;
            key: string;
            value: string;
        }[];
        type: string;
    }[];
    log: string;
}

The result of the simulation.

Methods

  • Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.

    If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").

    Type Parameters

    Parameters

    • other: undefined | null | CustomType<U>
    • OptionalnormalizeNumberTypes: boolean

    Returns boolean