Struct shuttle_sdk::TransactionBuilder
[−]
[src]
pub struct TransactionBuilder<'a> { /* fields omitted */ }Transaction builder.
Methods
impl<'a> TransactionBuilder<'a>[src]
fn new(source: &'a mut Account) -> TransactionBuilder<'a>[src]
Create a transaction builder with source account.
fn with_time_bounds(self, time_bounds: TimeBounds) -> TransactionBuilder<'a>[src]
Set the transaction time bounds.
fn with_memo(self, memo: Memo) -> TransactionBuilder<'a>[src]
Set the transaction memo.
fn operation(self, op: Operation) -> TransactionBuilder<'a>[src]
Add one operation to the transaction.
fn operations_len(&self) -> usize[src]
Return the number of operations currently in the transaction.
fn build(self) -> Transaction[src]
Return the transaction.