pub fn decode_tx_result_code(error_result_xdr: &str) -> Option<String>Expand description
Decodes a base64-encoded TransactionResult XDR into a human-readable result code name.
Returns the variant name of the TransactionResultResult (e.g., "TxBadSeq",
"TxInsufficientBalance", "TxFailed"). Returns None if the XDR cannot be decoded.