# AsyncSeismicNamespace

`AsyncSeismicNamespace` extends `AsyncSeismicPublicNamespace` with private-key operations.

## Definition

```python
class AsyncSeismicNamespace(AsyncSeismicPublicNamespace):
    encryption: EncryptionState

    def contract(..., eip712: bool = False) -> AsyncShieldedContract: ...
    async def send_shielded_transaction(..., eip712: bool = False) -> HexBytes: ...
    async def signed_call(..., gas: int = 30_000_000, eip712: bool = False) -> HexBytes: ...
    async def debug_send_shielded_transaction(..., eip712: bool = False) -> DebugWriteResult: ...
    async def deposit(..., address: str = DEPOSIT_CONTRACT_ADDRESS) -> HexBytes: ...
```

## Methods

| Method                                                                                                     | Returns                 | Description                                                                                                  |
| ---------------------------------------------------------------------------------------------------------- | ----------------------- | ------------------------------------------------------------------------------------------------------------ |
| [`send_shielded_transaction`](/clients/python/namespaces/methods/send-shielded-transaction.md)             | `HexBytes`              | Encrypt, sign, and broadcast a shielded transaction                                                          |
| [`signed_call`](/clients/python/namespaces/methods/signed-call.md)                                         | `HexBytes`              | Execute a signed read with encrypted calldata                                                                |
| [`debug_send_shielded_transaction`](/clients/python/namespaces/methods/debug-send-shielded-transaction.md) | `DebugWriteResult`      | Send shielded transaction and return debug artifacts                                                         |
| [`deposit`](/clients/python/namespaces/methods/deposit.md)                                                 | `HexBytes`              | Submit a validator deposit (transparent)                                                                     |
| [`contract`](/clients/python/contract/shielded-contract.md)                                                | `AsyncShieldedContract` | Create an async shielded contract wrapper                                                                    |
| `get_tee_public_key`                                                                                       | `CompressedPublicKey`   | Inherited from [`AsyncSeismicPublicNamespace`](/clients/python/namespaces/async-seismic-public-namespace.md) |
| `get_deposit_root`                                                                                         | `bytes`                 | Inherited from [`AsyncSeismicPublicNamespace`](/clients/python/namespaces/async-seismic-public-namespace.md) |
| `get_deposit_count`                                                                                        | `int`                   | Inherited from [`AsyncSeismicPublicNamespace`](/clients/python/namespaces/async-seismic-public-namespace.md) |

## Example

```python
from seismic_web3 import SEISMIC_TESTNET, PrivateKey, SRC20_ABI

pk = PrivateKey.from_hex_str("0x...")
w3 = await SEISMIC_TESTNET.async_wallet_client(pk)

token = w3.seismic.contract("0xTokenAddress", SRC20_ABI)

tx_hash = await token.write.transfer("0xRecipient", 100)
raw = await token.read.balanceOf()
```

## Notes

* Includes every async public namespace method
* `signed_call()` always returns `HexBytes`; empty responses are `HexBytes(b"")`
* `deposit()` validates byte lengths and raises `ValueError` on mismatch
* Attached as `w3.seismic` by `await CHAIN.async_wallet_client(pk)`

## See Also

* [SeismicNamespace](/clients/python/namespaces/seismic-namespace.md) — Sync equivalent
* [AsyncSeismicPublicNamespace](/clients/python/namespaces/async-seismic-public-namespace.md) — Read-only base class
* [AsyncShieldedContract](/clients/python/contract/shielded-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-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.
