cubeNamespaces

w3.seismic namespace reference

The w3.seismic namespace provides Seismic-specific functionality for wallet and public clients. The available methods depend on the client type.

Namespace Types

Namespace
Client Type
Sync/Async
Description

SeismicNamespace

Wallet

Sync

Full capabilities (writes, reads, deposits)

AsyncSeismicNamespace

Wallet

Async

Full capabilities (async)

SeismicPublicNamespace

Public

Sync

Read-only operations

AsyncSeismicPublicNamespace

Public

Async

Read-only operations (async)

Wallet Namespace Methods

Available on wallet clients created with create_wallet_client() or create_async_wallet_client():

Transaction Methods

  • send_shielded_transaction() - Send a shielded transaction with encrypted calldata

  • debug_send_shielded_transaction() - Send shielded transaction with debug info

  • signed_call() - Execute a signed read (eth_call with encrypted calldata)

Query Methods

  • get_tee_public_key() - Retrieve the TEE's public key for encryption

  • get_deposit_root() - Query the deposit contract merkle root

  • get_deposit_count() - Query the total number of deposits

Deposit Methods

  • deposit() - Deposit ETH or tokens into the Seismic network

Contract Factory

  • contract() - Create ShieldedContract or PublicContract wrappers

Public Namespace Methods

Available on public clients created with create_public_client() or create_async_public_client():

Query Methods

  • get_tee_public_key() - Retrieve the TEE's public key

  • get_deposit_root() - Query the deposit contract merkle root

  • get_deposit_count() - Query the total number of deposits

Contract Factory

  • contract() - Create PublicContract wrappers (transparent reads only)

Quick Examples

Wallet Client

Public Client

See Also

Last updated