Struct emerald_rs::Transaction [] [src]

pub struct Transaction {
    pub nonce: u64,
    pub gas_price: [u8; 32],
    pub gas_limit: u64,
    pub to: Option<Address>,
    pub value: [u8; 32],
    pub data: Vec<u8>,
}

Transaction data

Fields

Nonce

Gas Price

Gas Limit

Target address, or None to create contract

Value transferred with transaction

Data transferred with transaction

Methods

impl Transaction
[src]

[src]

Sign transaction data with provided private key

[src]

RLP packed signed transaction from provided Signature

[src]

RLP packed transaction

impl Transaction
[src]

[src]

Signed transaction into raw data

Trait Implementations

impl Clone for Transaction
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Transaction
[src]

[src]

Formats the value using the given formatter.

impl Default for Transaction
[src]

[src]

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