Struct emerald_core::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



Gas Price

Gas Limit

Target address, or None to create contract

Value transferred with transaction

Data transferred with transaction


impl Transaction

Sign transaction data with provided private key

RLP packed signed transaction from provided Signature

RLP packed transaction

impl Transaction

Signed transaction into raw data

Trait Implementations

impl Clone for Transaction

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Transaction

Formats the value using the given formatter.

impl Default for Transaction

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