pub struct TransactionRpcResponse {
Show 15 fields pub block_hash: Option<H256>, pub block_number: Option<U256>, pub from: H160, pub gas_price: Option<U256>, pub max_priority_fee_per_gas: Option<U256>, pub max_fee_per_gas: Option<U256>, pub hash: H256, pub input: Vec<u8>, pub nonce: U256, pub to: Option<H160>, pub transaction_index: Option<U256>, pub value: U256, pub v: U256, pub r: H256, pub s: H256,
}

Fields

block_hash: Option<H256>

hash of the block where this transaction was in, ‘null’ when it’s pending

block_number: Option<U256>

block number where this transaction was in, ‘null’ when it’s pending

from: H160

address of the sender

gas_price: Option<U256>

gas provided by the sender

max_priority_fee_per_gas: Option<U256>max_fee_per_gas: Option<U256>hash: H256

hash of the transaction

input: Vec<u8>

the data sent along with the transaction

nonce: U256to: Option<H160>

address of the receiver, ‘null’ when it’s a contract creation transaction

transaction_index: Option<U256>value: U256

value transferred in Wei

v: U256

ECDSA recovery id

r: H256

ECDSA signature r

s: H256

ECDSA signature s

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.