AbstractTransaction class abstract

Implementers

Constructors

AbstractTransaction()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signatures List<XdrDecoratedSignature>
getter/setter pair

Methods

hash(Network network) Uint8List
Returns the transaction hash of this transaction.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sign(KeyPair signer, Network network) → void
Signs the transaction for the signer and given network passphrase.
signatureBase(Network network) 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
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

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

Constants

MIN_BASE_FEE → const int