Class BroadcastTxSuccessResponse

Hierarchy (view full)

Implements

Constructors

Properties

tx_response: {
    code: number;
    codespace: string;
    data: string;
    events: {
        attributes: {
            index: boolean;
            key: string;
            value: string;
        }[];
        type: string;
    }[];
    gas_used: string;
    gas_wanted: string;
    height: string;
    logs: {
        events: {
            attributes: {
                index: boolean;
                key: string;
                value: string;
            }[];
            type: string;
        }[];
    }[];
    raw_log: string;
    timestamp: string;
    tx: null | object;
    txhash: string;
}

The response from the blockchain for the broadcasted tx.

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