# EncodedCoinPublicKey

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

[**@midnight-ntwrk/compact-runtime v0.21.0**](https://docs.midnight.network/api-reference/compact-runtime.md)

***

[@midnight-ntwrk/compact-runtime](https://docs.midnight.network/api-reference/compact-runtime/globals.md) / EncodedCoinPublicKey

# Interface: EncodedCoinPublicKey

A [CoinPublicKey](https://docs.midnight.network/api-reference/compact-runtime/type-aliases/CoinPublicKey.md) encoded as a byte string. This representation is used internally by the contract executable.

## Properties[​](#properties "Direct link to Properties")

### bytes[​](#bytes "Direct link to bytes")

```
readonly bytes: Uint8Array;
```

The coin public key's bytes.
