Distribute Shares

Distributes shares to the authentication server. Normally, this function is used by WalletCreation only.

distributeShares: (
   params: DistributeSharesParams
 ) => Promise<GeneralResponseData>;

Parameters:

  • DistributeSharesParams:

    • deviceId: The device unique ID.

    • loginToken: The login token for authentication.

    • spk: The Shares Protecting Key (Public and Private Key).

    • shares: Array of Shares.

    • type: The type of Operation (CREATE or UPDATE).

Returns:

A promise that resolves to an GeneralResponseData object.

Associated Types

KeyTypesAuthServerClientTypes

Last updated