Function decode_transaction_result_code

Source
pub fn decode_transaction_result_code(xdr_base64: &str) -> Option<String>
Expand description

Decodes a Stellar TransactionResult XDR payload and returns the result code name.

The RPC sendTransaction ERROR response exposes errorResultXdr as base64-encoded XDR, so callers must decode it before checking for specific result codes.