alloy_sol_types::abi

Function decode_sequence

Source
pub fn decode_sequence<'de, T: TokenSeq<'de>>(
    data: &'de [u8],
    validate: bool,
) -> Result<T>
Expand description

Decodes ABI compliant vector of bytes into vector of tokens described by types param.

You are probably looking for SolValue::abi_decode_sequence if you are not intending to use raw tokens.

See the abi module for more information.