Interface iSimulateTxSuccessResponse

interface iSimulateTxSuccessResponse {
    gas_info: {
        gas_used: string;
        gas_wanted: string;
    };
    result: {
        data: string;
        events: {
            attributes: {
                index: boolean;
                key: string;
                value: string;
            }[];
            type: string;
        }[];
        log: string;
    };
}

Implemented by

Properties

Properties

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

How much gas was used in the simulation.

Type declaration

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

The result of the simulation.

Type declaration

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