- accountFromSeed(
seed: Uint8Array,
type: "SECP256K1" | "BLS",
path: string,
network?: Network,
): {
address: AddressSecp256k1 | AddressBLS;
path: string;
privateKey: Uint8Array;
pubKey: Uint8Array;
type: "SECP256K1" | "BLS";
} Parameters
- seed: Uint8Array
- type: "SECP256K1" | "BLS"
- path: string
Optional
network: Network
Returns {
address: AddressSecp256k1 | AddressBLS;
path: string;
privateKey: Uint8Array;
pubKey: Uint8Array;
type: "SECP256K1" | "BLS";
}
Get HD account from seed