Interface iBroadcastTxSuccessResponse

interface iBroadcastTxSuccessResponse {
    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;
    };
}

Implemented by

Properties

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.

Type declaration

  • 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