pub fn validate<Call: Payload>(
call: &Call,
metadata: &Metadata,
) -> Result<(), Error>Expand description
Run the validation logic against some extrinsic you’d like to submit. Returns Ok(())
if the call is valid (or if it’s not possible to check since the call has no validation hash).
Return an error if the call was not valid or something went wrong trying to validate it (ie
the pallet or call in question do not exist at all).