Function decode_from

Source
pub fn decode_from<T: Config>(
    extrinsics: Vec<Vec<u8>>,
    metadata: Metadata,
) -> Result<Extrinsics<T>, Error>
Expand description

Instantiate a new Extrinsics object, given a vector containing each extrinsic hash (in the form of bytes) and some metadata that we’ll use to decode them.

This is a shortcut for Extrinsics::decode_from.