Skip to content

Substrate.Decode

Name - Description Default Type
<input> The encoded SCALE bytes. Bytes
<output> The decoded values. [Any]
Types The list of types expected to decode. None [Type]
Hints The hints of the types to decode, either "i8"/"u8", "i16"/"u16" etc... for int types, "c" for Compact int, "a" for AccountId or nil for other types. None [String None]
Version The substrate version prefix. 42 Int

Decode SCALE encoded bytes into values