Expand description
Offline, pure transaction validation (no RPC).
validate inspects a decoded stellar_xdr::TransactionEnvelope and
produces a TransactionValidationReport containing hard errors and soft
warnings. Validation never touches the network: it only inspects the XDR
structure the caller already holds. Use it as a pre-flight check before
simulation / submission.
Structs§
- Transaction
Validation Report - The result of running
validate.
Enums§
- Validation
Error - A hard validation failure.
- Validation
Warning - A soft, non-blocking observation.
Constants§
- MAX_
XDR_ SIZE - Conservative hard cap on serialized envelope size in bytes. Stellar’s current network limit is 100 KiB; this allows checking oversize locally.
- MIN_
FEE_ STROOPS - Default minimum base fee (stroops) used for hard validation.
Functions§
- validate
- Validate a decoded transaction envelope.
- validate_
base64 - Validate a base64
TransactionEnvelope. - validate_
raw - Validate a
TransactionEnvelopesupplied as raw bytes (already parsed).