Struct ethcore::account_provider::Transaction[][src]

pub struct Transaction {
    pub nonce: U256,
    pub gas_price: U256,
    pub gas: U256,
    pub action: Action,
    pub value: U256,
    pub data: Vec<u8>,
}

A set of information describing an externally-originating message call or contract creation operation.

Fields

Nonce.

Gas price.

Gas paid up front for transaction execution.

Action, can be either call or contract create.

Transfered value.

Transaction data.

Methods

impl Transaction
[src]

Append object with a without signature into RLP stream

impl Transaction
[src]

The message hash of the transaction.

Signs the transaction as coming from sender.

Signs the transaction with signature.

Specify the sender; this won't survive the serialize/deserialize process, but can be cloned.

Add EIP-86 compatible empty signature.

Get the transaction cost in gas for the given params.

Get the transaction cost in gas for this transaction.

Trait Implementations

impl Default for Transaction
[src]

Returns the "default value" for a type. Read more

impl HeapSizeOf for Transaction
[src]

Measure the size of any heap-allocated structures that hang off this value, but not the space taken up by the value itself (i.e. what size_of:: measures, more or less); that space is handled by the implementation of HeapSizeOf for Box below. Read more

impl Eq for Transaction
[src]

impl PartialEq<Transaction> for Transaction
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Transaction
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Transaction
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Transaction

impl Sync for Transaction