Skip to content

Substrate.Encode

Name - Description Default Type
<input> A sequence of values to SCALE encode. [Any]
<output> The encoded SCALE bytes. Bytes
Hints The hints of types to encode, either "i8"/"u8", "i16"/"u16" etc... for int types, "c" for Compact int, "a" for AccountId or nil for other types. None [String None]

Encode values into a byte array in SCALE format