Struct web30::types::TransactionResponse [−][src]
pub struct TransactionResponse {}Show fields
pub block_hash: Option<Data>, pub block_number: Option<Uint256>, pub from: Address, pub gas: Uint256, pub gas_price: Uint256, pub hash: Data, pub input: Data, pub nonce: Uint256, pub to: Option<Address>, pub transaction_index: Option<Uint256>, pub value: Uint256, pub v: Uint256, pub r: Uint256, pub s: Uint256,
Expand description
As received by getTransactionByHash
See more: https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_gettransactionbyhash
Fields
block_hash: Option<Data>
hash of the block where this transaction was in. null when its pending.
block_number: Option<Uint256>
block number where this transaction was in. null when its pending.
from: Address
address of the sender.
gas: Uint256
gas provided by the sender.
gas_price: Uint256
gas price provided by the sender in Wei.
hash: Data
hash of the transaction
input: Data
the data send along with the transaction.
nonce: Uint256
the number of transactions made by the sender prior to this one.
to: Option<Address>
address of the receiver. null when its a contract creation transaction.
transaction_index: Option<Uint256>
integer of the transaction’s index position in the block. null when its pending.
value: Uint256
value transferred in Wei.
v: Uint256
ECDSA recovery id
r: Uint256
ECDSA signature r
s: Uint256
ECDSA signature s
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
the goal of this ordering is to sort transactions by their block number, in the case of transactions in the same block or transactions without a block number transactions without a block are greater than transactions with one and are sorted by nonce when in the same block or without a block.
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for TransactionResponse
impl Send for TransactionResponse
impl Sync for TransactionResponse
impl Unpin for TransactionResponse
impl UnwindSafe for TransactionResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V