Struct block::UnsignedTransaction
[−]
[src]
pub struct UnsignedTransaction {
pub nonce: U256,
pub gas_price: Gas,
pub gas_limit: Gas,
pub action: TransactionAction,
pub value: U256,
pub input: Vec<u8>,
}Fields
nonce: U256
gas_price: Gas
gas_limit: Gas
action: TransactionAction
value: U256
input: Vec<u8>
Methods
impl UnsignedTransaction[src]
fn sign<P: SignaturePatch>(self, key: &SecretKey) -> Transaction[src]
fn sign_global(self, key: &SecretKey) -> Transaction[src]
Trait Implementations
impl From<Transaction> for UnsignedTransaction[src]
fn from(val: Transaction) -> UnsignedTransaction[src]
Performs the conversion.