StellarChainUtils class

Constructors

StellarChainUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getStellarTxHashFromSignedXdr(String signedXdr, {String? chainId}) String
Computes the Stellar transaction hash from a base64-encoded, signed TransactionEnvelope XDR as sha256(network_id || envelope_type || transaction_body). Signatures are computed over the hash, so the trailing signature array is stripped rather than hashed. For fee-bump envelopes this yields the canonical fee-bump hash.