Struct ethcore::views::TransactionView [] [src]

pub struct TransactionView<'a> { /* fields omitted */ }

View onto transaction rlp.

Methods

impl<'a> TransactionView<'a>
[src]

Creates new view onto valid transaction rlp. Use the view! macro to create this view in order to capture debugging info.

Example

#[macro_use]
extern crate ethcore;
 
use ethcore::views::{TransactionView};
 
fn main() {
let bytes : &[u8] = &[];
let tx_view = view!(TransactionView, bytes);
}

Return reference to underlaying rlp.

Returns transaction hash.

Get the nonce field of the transaction.

Get the gas_price field of the transaction.

Get the gas field of the transaction.

Get the value field of the transaction.

Get the data field of the transaction.

Get the v field of the transaction.

Get the r field of the transaction.

Get the s field of the transaction.

Trait Implementations

Auto Trait Implementations

impl<'a> Send for TransactionView<'a>

impl<'a> !Sync for TransactionView<'a>