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>Implementations§
Source§impl UnsignedTransaction
impl UnsignedTransaction
pub fn sign<P: SignaturePatch>(self, key: &SecretKey) -> Transaction
pub fn sign_global(self, key: &SecretKey) -> Transaction
Trait Implementations§
Source§impl From<Transaction> for UnsignedTransaction
impl From<Transaction> for UnsignedTransaction
Source§fn from(val: Transaction) -> UnsignedTransaction
fn from(val: Transaction) -> UnsignedTransaction
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnsignedTransaction
impl RefUnwindSafe for UnsignedTransaction
impl Send for UnsignedTransaction
impl Sync for UnsignedTransaction
impl Unpin for UnsignedTransaction
impl UnwindSafe for UnsignedTransaction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more