Class: SerializedBcs<T, Input>
Type Parameters
| Type Parameter | Default type |
|---|---|
T | - |
Input | T |
Constructors
Constructor
new SerializedBcs<T, Input>(type, schema): SerializedBcs<T, Input>;
Parameters
| Parameter | Type |
|---|---|
type | BcsType<T, Input> |
schema | Uint8Array |
Returns
SerializedBcs<T, Input>
Methods
toBytes()
toBytes(): Uint8Array;
Returns
Uint8Array
toHex()
toHex(): string;
Returns
string
toBase64()
toBase64(): string;
Returns
string
toBase58()
toBase58(): string;
Returns
string
parse()
parse(): T;
Returns
T