Function decodeSeed

  • Parameters

    • seed: string
    • Optional opts: {
          expectedLength: number;
          versionTypes: ["ed25519", "secp256k1"];
          versions: (number | number[])[];
      }
      Optional
      • expectedLength: number
      • versionTypes: ["ed25519", "secp256k1"]
      • versions: (number | number[])[]

    Returns {
        bytes: Uint8Array;
        type: "ed25519" | "secp256k1" | null;
        version: number[];
    }

    • bytes: Uint8Array
    • type: "ed25519" | "secp256k1" | null
    • version: number[]

Generated using TypeDoc