# getPublicKey

Retrieves the root public key from the contract.

## Usage

```ts twoslash
// [!include ~/snippets/code/contract.ts]
// ---cut---
const publicKey = await evmChainSigContract.getPublicKey()
```

## Returns

| Type                              | Description                                     |
| --------------------------------- | ----------------------------------------------- |
| `Promise<UncompressedPubKeySEC1>` | The root public key in SEC1 uncompressed format |
