new Transaction(envelope)
A new Transaction object is created from a transaction envelope or via TransactionBuilder. Once a Transaction has been created from an envelope, its attributes and operations should not be changed. You should only add signers (using Transaction#sign) to a Transaction object before submitting to the network or forwarding on to additional signers.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
envelope |
string
|
xdr.TransactionEnvelope
|
The transaction envelope object or base64 encoded string. |