Constructor
new TransactionBuilder(sourceAccount, optsopt)
- Source:
 
Parameters:
| Name | Type | Attributes | Description | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sourceAccount | 
            
            
            
                
Account
            
             | 
            
                
                 The source account for this transaction.  | 
        |||||||||||||||||||||||||||||
opts | 
            
            
            
                
object
            
             | 
            
                
                
                    <optional> | 
            
            
            
                
                
                    
  | 
        
Methods
addMemo(memo) → {TransactionBuilder}
Adds a memo to the transaction.
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
memo | 
            
            
            
                
Memo
            
             | 
            
            
            
                 Memo object  | 
        
Returns:
- Type:
 - 
        
TransactionBuilder 
addOperation(operation) → {TransactionBuilder}
Adds an operation to the transaction.
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
operation | 
            
            
            
                
xdr.Operation
            
             | 
            
            
            
                 The xdr operation object, use Operation static methods.  | 
        
Returns:
- Type:
 - 
        
TransactionBuilder 
build() → {Transaction}
This will build the transaction. It will also increment the source account's sequence number by 1.
- Source: