pub struct Tx {
pub from: String,
pub to_: String,
pub amount: String,
pub nonce: i64,
pub ou: String,
pub timestamp: f64,
pub op_type: String,
pub encrypted_data: String,
pub message: String,
pub signature: String,
pub public_key: String,
}Expand description
Octra transaction fields used by Circle deployment and calls.
Fields§
§from: StringSender wallet address.
to_: StringDestination wallet or Circle address.
amount: StringNative asset amount encoded as a decimal string.
nonce: i64Sender account nonce.
ou: StringOctra unit budget encoded as a decimal string.
timestamp: f64Transaction timestamp.
op_type: StringOctra operation type.
encrypted_data: StringOptional operation-specific encrypted-data field.
message: StringOptional operation-specific message payload.
signature: StringTransaction signature.
public_key: StringSigning public key.
Trait Implementations§
impl StructuralPartialEq for Tx
Auto Trait Implementations§
impl Freeze for Tx
impl RefUnwindSafe for Tx
impl Send for Tx
impl Sync for Tx
impl Unpin for Tx
impl UnsafeUnpin for Tx
impl UnwindSafe for Tx
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