[**@sodot/sodot-node-sdk**](/node/api-ref) • **Docs**

***

[@sodot/sodot-node-sdk](/node/api-ref) / EcdsaInitKeygenResult

# Class: EcdsaInitKeygenResult

An ECDSA key init result, generated by the `Ecdsa.keygenInit` function.
It contains a base58 string keygenId that must be provided to other parties we intend to perform keygen with.
It also contains a hex string of the **secret** keygen value that must be used during keygen.

## Constructors

### new EcdsaInitKeygenResult()

> **new EcdsaInitKeygenResult**(`keygenId`, `keygenSecret`): [`EcdsaInitKeygenResult`](/node/api-ref/classes/EcdsaInitKeygenResult)

#### Parameters

• **keygenId**: `string`

A base58 string that is a public value that should be provided to other parties we intend to perform keygen with.

• **keygenSecret**: `string`

A hex string that represents a **secret** value that must be provided when participating in a keygen.

#### Returns

[`EcdsaInitKeygenResult`](/node/api-ref/classes/EcdsaInitKeygenResult)

A new EcdsaInitKeygenResult object

## Properties

### keygenId

> **keygenId**: `string`

***

### keygenSecret

> **keygenSecret**: `string`
