pub fn validate_tx( tx_hex: &str, validation_context: ValidationInputContext, ) -> Result<ValidationResult, JsError>