[][src]Struct ethereum_json_rpc::Transaction

pub struct Transaction {
    pub block_hash: Option<String>,
    pub block_number: Option<String>,
    pub from: Option<String>,
    pub gas: String,
    pub gas_price: String,
    pub hash: Option<String>,
    pub input: Option<String>,
    pub nonce: String,
    pub r: Option<String>,
    pub s: Option<String>,
    pub to: Option<String>,
    pub transaction_index: Option<String>,
    pub v: Option<String>,
    pub value: Option<String>,
}

Fields

block_hash: Option<String>

Hash of the block where this transaction was in. null when its pending

block_number: Option<String>

Block number where this transaction was in. null when its pending

from: Option<String>

Address of the sender

gas: String

The gas limit provided by the sender in Wei

gas_price: String

The gas price willing to be paid by the sender in Wei

hash: Option<String>

Keccak 256 Hash of the RLP encoding of a transaction

input: Option<String>

The data field sent with the transaction

nonce: String

The total number of prior transactions made by the sender

r: Option<String>

ECDSA signature r

s: Option<String>

ECDSA signature s

to: Option<String>

address of the receiver. null when its a contract creation transaction

transaction_index: Option<String>

Integer of the transaction's index position in the block. null when its pending

v: Option<String>

ECDSA recovery id

value: Option<String>

Value of Ether being transferred in Wei

Trait Implementations

impl Clone for Transaction[src]

impl PartialEq<Transaction> for Transaction[src]

impl Debug for Transaction[src]

impl Serialize for Transaction[src]

impl<'de> Deserialize<'de> for Transaction[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]