# AsyncSeismicPublicNamespace

Async read-only namespace attached as `w3.seismic` on async public clients.

## Definition

```python
class AsyncSeismicPublicNamespace:
    async def get_tee_public_key(self) -> CompressedPublicKey: ...
    def contract(self, address: ChecksumAddress, abi: list[dict[str, Any]]) -> AsyncPublicContract: ...
    async def get_deposit_root(self, *, address: str = DEPOSIT_CONTRACT_ADDRESS) -> bytes: ...
    async def get_deposit_count(self, *, address: str = DEPOSIT_CONTRACT_ADDRESS) -> int: ...
```

## Methods

| Method                                                                           | Returns               | Description                                                |
| -------------------------------------------------------------------------------- | --------------------- | ---------------------------------------------------------- |
| [`get_tee_public_key`](/clients/python/namespaces/methods/get-tee-public-key.md) | `CompressedPublicKey` | Fetch the TEE's compressed secp256k1 public key            |
| [`get_deposit_root`](/clients/python/namespaces/methods/get-deposit-root.md)     | `bytes`               | Read the deposit Merkle root (32 bytes)                    |
| [`get_deposit_count`](/clients/python/namespaces/methods/get-deposit-count.md)   | `int`                 | Read the total validator deposit count                     |
| `contract`                                                                       | `AsyncPublicContract` | Create an async read-only contract wrapper (`.tread` only) |

## Example

```python
from seismic_web3 import SEISMIC_TESTNET

public = await SEISMIC_TESTNET.async_public_client()

tee_key = await public.seismic.get_tee_public_key()
root = await public.seismic.get_deposit_root()
count = await public.seismic.get_deposit_count()
```

## Notes

* No private key is required
* `contract()` returns `AsyncPublicContract` with `.tread` only

## See Also

* [SeismicPublicNamespace](/clients/python/namespaces/seismic-public-namespace.md) — Sync equivalent
* [AsyncSeismicNamespace](/clients/python/namespaces/async-seismic-namespace.md) — Wallet namespace (extends this with write operations)
* [AsyncPublicContract](/clients/python/contract/public-contract.md) — Contract wrapper returned by `contract()`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.seismic.systems/clients/python/namespaces/async-seismic-public-namespace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
