Struct cosmos_sdk_proto::cosmos::base::abci::v1beta1::TxResponse[][src]

pub struct TxResponse {
    pub height: i64,
    pub txhash: String,
    pub codespace: String,
    pub code: u32,
    pub data: String,
    pub raw_log: String,
    pub logs: Vec<AbciMessageLog>,
    pub info: String,
    pub gas_wanted: i64,
    pub gas_used: i64,
    pub tx: Option<Any>,
    pub timestamp: String,
}

TxResponse defines a structure containing relevant tx data and metadata. The tags are stringified and the log is JSON decoded.

Fields

height: i64

The block height

txhash: String

The transaction hash.

codespace: String

Namespace for the Code

code: u32

Response code.

data: String

Result bytes, if any.

raw_log: String

The output of the application’s logger (raw string). May be non-deterministic.

logs: Vec<AbciMessageLog>

The output of the application’s logger (typed). May be non-deterministic.

info: String

Additional information. May be non-deterministic.

gas_wanted: i64

Amount of gas requested for transaction.

gas_used: i64

Amount of gas consumed by transaction.

tx: Option<Any>

The request transaction bytes.

timestamp: String

Time of the previous block. For heights > 1, it’s the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it’s genesis time.

Trait Implementations

impl Clone for TxResponse[src]

impl Debug for TxResponse[src]

impl Default for TxResponse[src]

impl Message for TxResponse[src]

impl PartialEq<TxResponse> for TxResponse[src]

impl StructuralPartialEq for TxResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]