Optional accountOptional addressableOptional balanceOptional balanceOptional bidOptional bidOptional blockOptional byteOptional chainspecOptional checksumOptional deployOptional dictionaryOptional entryOptional eraOptional eraOptional hashOptional messageOptional namedOptional packageOptional systemOptional transferOptional uOptional unbondOptional withdrawStatic Private concatConcatenates the type and field bytes.
A Uint8Array with concatenated type and field bytes.
The bytes representing the field.
Optional typeBytes: Uint8ArrayThe bytes representing the type.
Static createCreates a Key instance based on the type ID and source string.
A new Key instance.
Error if the type is not found or invalid.
The string containing the key data.
The TypeID of the key.
Static findFinds the prefix name by matching the source string with a map of prefixes.
The matching PrefixName or undefined if not found.
The string to check for a matching prefix.
The map of prefix names to KeyTypeID.
Static fromCreates a Key instance from a byte array.
A new Key instance.
Error if deserialization fails.
The byte array containing serialized key data.
Static newStatic parseGenerated using TypeDoc
Represents a Key that can identify different types of entities in the system.