Skip to main content

validate_base64

Function validate_base64 

Source
pub fn validate_base64(b64: &str) -> TransactionValidationReport
Expand description

Validate a base64 TransactionEnvelope.

This both decodes the payload and validates it, returning a report. The base64 crate is re-exported through the stellar_xdr feature set; we decode using stellar_xdr::ReadXdr from the base64 string.