scalecodec library

Classes

Address
AnonymousStruct
Bool
BufferedReader
BufferedWriter
Bytes
Compact
Data
DoubleMapType
Era
An Era represents a range of blocks in which a transaction is allowed to be executed. [...]
ExtrinsicMetadata
Extrinsics
ExtrinsicsPayloadValue
FixedLengthArr
GeneralEnum
GeneralStruct
GeneralTemplate
GenericCall
Generic call encodes call params into call bytes, prefixed with encoded module index and function index [...]
H160
H256
H512
HashBase
i8
i16
i32
i64
i128
i256
IdentityInfo
IdentityInfoAdditional
IntegerBase
MapType
MetadataEnum
MetadataModuleCall
MetadataModuleCallArgument
MetadataModuleError
MetadataModuleEvent
MetadataV7ModuleConstants
MetadataV7ModuleStorage
MetadataV7ModuleStorageEntry
MetadataV7ModuleStorageFunctionType
MetadataV8Module
MetadataV11
MetadataV12
MetadataV12Module
Null
Option
RuntimeConfigration
ScaleCodecBase
Base Class of all reflected types [...]
ScaleTypeReflector
StorageHasher
Str
u8
u16
u32
u64
u128
u256
UserDefined
Vec

Constants

scaleTypeReflector → const ScaleTypeReflector

Properties

compactReaderInstance BufferedReader
read / write
compactWriterInstance BufferedWriter
read / write
readerInstance BufferedReader
read / write
writerInstance BufferedWriter
read / write

Functions

BigIntToUint8List(BigInt v, int byteLength, {bool signed = false}) Uint8List
createCompactReaderInstance(Uint8List data) → void
createCompactWriterInstance() → void
createReaderInstance(String hex) → void
createWriterInstance() → void
finishCompactReader() → void
finishCompactWriter() Uint8List
fromBinary(String typeName) ScaleCodecBase
Build an object of typeName from universal BufferedReader [...]
fromJson(String typeName, dynamic val) ScaleCodecBase
getDecoderClass(String class_name) ClassMirror
getReaderInstance() BufferedReader
getWriterInstance() BufferedWriter
processTypeName(String typeName) Tuple2<String, dynamic>
Analyze typeName and return a tuple of<category, dynamic>
splitSubTypes(String subTypeContents) List<String>
Split string of subtype definition into list of subtypes
strip0x(String hex) String
Uint8ListShiftLeft(Uint8List l, int shift) Uint8List
Uint8ListShiftRight(Uint8List l, int shift) Uint8List
Uint8ListToBigInt(Uint8List l, {bool signed = false}) BigInt