Struct ethcore_rpc::v1::types::Transaction
[−]
[src]
pub struct Transaction { pub hash: H256, pub nonce: U256, pub block_hash: Option<H256>, pub block_number: Option<U256>, pub transaction_index: Option<U256>, pub from: H160, pub to: Option<H160>, pub value: U256, pub gas_price: U256, pub gas: U256, pub input: Bytes, pub creates: Option<H160>, pub raw: Bytes, pub public_key: Option<H512>, pub network_id: Option<u64>, pub standard_v: U256, pub v: U256, pub r: U256, pub s: U256, pub min_block: Option<BlockNumber>, }
Transaction
Fields
hash: H256
Hash
nonce: U256
Nonce
block_hash: Option<H256>
Block hash
block_number: Option<U256>
Block number
transaction_index: Option<U256>
Transaction Index
from: H160
Sender
to: Option<H160>
Recipient
value: U256
Transfered value
gas_price: U256
Gas Price
gas: U256
Gas
input: Bytes
Data
creates: Option<H160>
Creates contract
raw: Bytes
Raw transaction data
public_key: Option<H512>
Public key of the signer.
network_id: Option<u64>
The network id of the transaction, if any.
standard_v: U256
The standardised V field of the signature (0 or 1).
v: U256
The standardised V field of the signature.
r: U256
The R field of the signature.
s: U256
The S field of the signature.
min_block: Option<BlockNumber>
Transaction activates at specified block.
Trait Implementations
impl PartialEq for Transaction
[src]
fn eq(&self, __arg_0: &Transaction) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Transaction) -> bool
This method tests for !=
.
impl Clone for Transaction
[src]
fn clone(&self) -> Transaction
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Transaction
[src]
fn default() -> Transaction
Returns the "default value" for a type. Read more
impl Debug for Transaction
[src]
impl From<LocalizedTransaction> for Transaction
[src]
fn from(t: LocalizedTransaction) -> Transaction
Performs the conversion.
impl From<SignedTransaction> for Transaction
[src]
fn from(t: SignedTransaction) -> Transaction
Performs the conversion.
impl From<PendingTransaction> for Transaction
[src]
fn from(t: PendingTransaction) -> Transaction
Performs the conversion.