Skip to main content

validate

Function validate 

Source
pub fn validate(input: &Value) -> Result<PreparedTransaction, TxCompilerError>
Expand description

Validate an arbitrary JSON payload into a PreparedTransaction.

Rejects malformed payloads with stable error codes before any irreversible work reaches compile().