referrerpolicy=no-referrer-when-downgrade

Type Alias polkadot_sdk_frame::traits::ValidateResult

pub type ValidateResult<Val, Call> = Result<(ValidTransaction, Val, <Call as Dispatchable>::RuntimeOrigin), TransactionValidityError>;
Expand description

Shortcut for the result value of the validate function.

Aliased Type§

enum ValidateResult<Val, Call> {
    Ok((ValidTransaction, Val, <Call as Dispatchable>::RuntimeOrigin)),
    Err(TransactionValidityError),
}

Variants§

§1.0.0

Ok((ValidTransaction, Val, <Call as Dispatchable>::RuntimeOrigin))

Contains the success value

§1.0.0

Err(TransactionValidityError)

Contains the error value