Expand description
XDR utility functions for Stellar transaction processing.
This module provides utilities for parsing, validating, and manipulating Stellar transaction XDR (External Data Representation) structures. It includes support for regular transactions, fee-bump transactions, and various transaction formats (V0, V1).
Functionsยง
- attach_
signatures_ to_ envelope - Attach signatures to a transaction envelope This function handles all envelope types (V0, V1, and FeeBump)
- build_
fee_ bump_ envelope - Build a fee-bump transaction envelope
- calculate_
transaction_ hash - Calculate the hash of a transaction envelope
- extract_
inner_ transaction_ hash - Extract the inner transaction hash from a fee-bump envelope
- extract_
operations - Extract operations from a transaction envelope
- extract_
source_ account - Extract the source account from a transaction envelope
- is_
fee_ bump - Check if a transaction envelope is a fee-bump transaction
- is_
signed - Check if a transaction envelope is signed
- muxed_
account_ to_ string - Convert a MuxedAccount to a string representation
- parse_
transaction_ xdr - Parse a transaction XDR string into a TransactionEnvelope
- string_
to_ muxed_ account - Convert a string address to a MuxedAccount
- update_
xdr_ fee - Update the fee in an XDR envelope
- update_
xdr_ sequence - Update the sequence number in an XDR envelope
- validate_
source_ account - Validate that the source account of a transaction matches the expected account
- xdr_
needs_ simulation - Check if a transaction envelope contains operations that require simulation