> For the complete documentation index, see [llms.txt](/llms.txt).

# Get Ed25519 private key

Using the `ed25519Key()` method in the Web3Auth instance you can get the `ed25519` private key.

## Method[​](#method "Direct link to Method")

`get ed25519Key(): string;`

## Usage[​](#usage "Direct link to Usage")

```
const ed25519Key = web3auth.ed25519Key()

```

## Response[​](#response "Direct link to Response")

```
"666523652352635...."

```
