AbstractTransaction class

Implementers

Constructors

AbstractTransaction(Network network)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
network Network
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
signatures List<XdrDecoratedSignature>
read-only

Methods

hash() Uint8List
Returns the transaction hash of this transaction.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
sign(KeyPair signer) → void
Signs the transaction for the signer.
signatureBase() Uint8List
signHash(Uint8List preimage) → void
Adds a sha256Hash signature to this transaction by revealing preimage.
toEnvelopeXdr() XdrTransactionEnvelope
toEnvelopeXdrBase64() String
Returns a base64-encoded TransactionEnvelope XDR object of this transaction. This transaction needs to have at least one signature.
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Properties

MIN_BASE_FEE int
final

Static Methods

fromEnvelopeXdr(XdrTransactionEnvelope envelope, Network network) AbstractTransaction
fromEnvelopeXdrString(String envelope, Network network) AbstractTransaction
Creates a Transaction instance from an xdr envelope string representing a TransactionEnvelope.