salt-sdk - v0.0.45
    Preparing search index...

    Class ChildVerificationTimeoutErrorSealed

    Thrown when no robo signer confirmed a child account's public key in time.

    The child already exists and keeps its derivation path, so do not create a new one: bring a robo signer online and call Salt.retryChildVerification with childId.

    try {
    await salt.createChildAccount({ accountId, name: 'Payroll', signer });
    } catch (err) {
    if (err instanceof ChildVerificationTimeoutError) {
    await salt.retryChildVerification({
    accountId: err.accountId,
    childId: err.childId,
    signer,
    });
    }
    }

    Hierarchy

    • Error
      • ChildVerificationTimeoutError
    Index
    • Parameters

      • params: {
            accountId: string;
            childId: string;
            derivationPath: string;
            waitedForMs: number;
        }

      Returns ChildVerificationTimeoutError

    accountId: string

    The root account the child is derived from.

    childId: string

    The pending child account.

    derivationPath: string

    The child's derivation path, e.g. 'm/0'.

    message: string
    name: string
    stack?: string
    waitedForMs: number

    How long the SDK waited for a confirmation.