file-contractUnsignedSeismicTx

Complete unsigned Seismic transaction

All fields of a TxSeismic (type 0x4a) transaction before signing.

Definition

@dataclass(frozen=True)
class UnsignedSeismicTx:
    chain_id: int
    nonce: int
    gas_price: int
    gas: int
    to: ChecksumAddress | None
    value: int
    data: HexBytes
    seismic: SeismicElements

Fields

Field
Type
Description

chain_id

int

Numeric chain identifier

nonce

int

Sender's transaction count

gas_price

int

Gas price in wei

gas

int

Gas limit

to

ChecksumAddress | None

Recipient address, or None for contract creation

value

int

Amount of wei to transfer

data

HexBytes

Encrypted calldata (ciphertext)

seismic

Seismic-specific encryption and expiry fields

Example

Notes

  • The data field contains encrypted calldata — plaintext is not recoverable without the TEE's private key

  • Created automatically by the SDK's write methods; visible in DebugWriteResult for inspection

  • Compatible with both raw signing (message_version=0) and EIP-712 (message_version=2)

See Also

Last updated