Skip to main content

Generate a new distributed key

POST 

/v1/node/dks

Generate a new distributed key

Request

Body

required

Request parameters

    peerIdentities string[]required

    Names or hex encoded public keys of trusted peers to run DKG on.

    threshold int32required

    Possible values: >= 1

    Should be =< len(PeerPublicIdentities)

    timeoutMS int32required

    Possible values: >= 1

    Timeout in milliseconds.

Responses

DK shares info

Schema
    address stringrequired

    New generated shared address.

    peerIdentities string[]required

    Identities of the nodes sharing the key. (Hex)

    peerIndex int32required

    Possible values: >= 1

    publicKey stringrequired

    Used public key. (Hex)

    publicKeyShares string[]required

    Public key shares for all the peers. (Hex)

    threshold int32required

    Possible values: >= 1

Loading...