Struct shuttle_sdk::Transaction [] [src]

pub struct Transaction {
    pub source: PublicKey,
    pub sequence: u64,
    pub fee: Stroops,
    pub time_bounds: Option<TimeBounds>,
    pub memo: Memo,
    pub operations: Vec<Operation>,
}

A transaction containing operations that change the ledger state.

Fields

The source account.

The sequence number.

The fee.

The validity time bounds.

The attached memo.

The operations.

Methods

impl Transaction
[src]

[src]

Create a new transaction.

[src]

The transaction source account.

[src]

The transaction fee.

[src]

The transaction time bounds for its validity.

[src]

The memo attached to the transaction.

[src]

The transaction sequence number.

[src]

The operations included in the transaction.

[src]

Sign the transaction, returning a signed transaction that can be submitted to the network.

Trait Implementations

impl Clone for Transaction
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl ToXdr<Transaction> for Transaction
[src]

[src]

Build the object that can be serialized to XDR.

[src]

Serialize to the writer w.

[src]

Serialize to base64.

impl Debug for Transaction
[src]

[src]

Formats the value using the given formatter.

impl<'de> FromXdr<'de, Transaction> for Transaction
[src]

[src]