Struct ethcore::views::TransactionView
[−]
[src]
pub struct TransactionView<'a> { /* fields omitted */ }
View onto transaction rlp.
Methods
impl<'a> TransactionView<'a>
[src]
fn new(bytes: &'a [u8]) -> TransactionView<'a>
Creates new view onto block from raw bytes.
fn new_from_rlp(rlp: Rlp<'a>) -> TransactionView<'a>
Creates new view onto block from rlp.
fn rlp(&self) -> &Rlp<'a>
Return reference to underlaying rlp.
fn nonce(&self) -> U256
Get the nonce field of the transaction.
fn gas_price(&self) -> U256
Get the gas_price field of the transaction.
fn gas(&self) -> U256
Get the gas field of the transaction.
fn value(&self) -> U256
Get the value field of the transaction.
fn data(&self) -> Bytes
Get the data field of the transaction.
fn v(&self) -> u8
Get the v field of the transaction.
fn r(&self) -> U256
Get the r field of the transaction.
fn s(&self) -> U256
Get the s field of the transaction.