salt-sdk
    Preparing search index...

    Type Alias AccountSetupEvents

    AccountSetupEvents: {
        accountLaunched: (
            event: {
                account: SaltAccount;
                isCreator: boolean;
                userAddress: string;
            },
        ) => void;
        huddleCompleted: (
            event: { accountId: string; isCreator: boolean; userAddress: string },
        ) => void;
        huddleJoined: (
            event: { accountId: string; isCreator: boolean; userAddress: string },
        ) => void;
    } & HuddleEvents

    Events emitted during account setup lifecycle.

    Type Declaration

    • accountLaunched: (
          event: { account: SaltAccount; isCreator: boolean; userAddress: string },
      ) => void

      Fires when the account is launched and the public key is available

    • huddleCompleted: (event: { accountId: string; isCreator: boolean; userAddress: string }) => void

      Fires when the huddle is completed and key material is committed on chain

    • huddleJoined: (event: { accountId: string; isCreator: boolean; userAddress: string }) => void

      Fires when the huddle is joined