# PublicAddress

> 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) / PublicAddress

# Type Alias: PublicAddress

```
type PublicAddress = 

  | {

  address: UserAddress;

  tag: "user";

}

  | {

  address: ContractAddress;

  tag: "contract";

};
```

A public address that an entity can be identified by
