Type declaration
-
decode:function
- decode(input: Uint8Array | Reader, length?: number): GenesisAccount
-
Parameters
-
input: Uint8Array | Reader
-
Optional
length: number
-
encode:function
- encode(message: GenesisAccount, writer?: Writer): Writer
-
Returns Writer
-
fromJSON:function
-
fromPartial:function
- fromPartial<I>(object: I): GenesisAccount
-
Type Parameters
-
I extends {
address?: string;
code?: string;
storage?: ({ key?: string | undefined; value?: string | undefined; })[];
} & {
address?: string;
code?: string;
storage?: {
key?: string;
value?: string;
}[] & ({
key?: string;
value?: string;
} & ({ key?: string | undefined; value?: string | undefined; }) & { [ K in string | number | symbol]: never })[] & { [ K in string | symbol]: never };
} & { [ K in string | number | symbol]: never }
-
toJSON:function