Shielded Write
Encrypted transactions — lifecycle, security parameters, and the low-level API
How it works
Security parameters
from seismic_web3 import SeismicSecurityParams
params = SeismicSecurityParams(
blocks_window=50, # expires after 50 blocks instead of 100
encryption_nonce=None, # random (default)
recent_block_hash=None, # latest block (default)
expires_at_block=None, # computed from blocks_window (default)
)
tx_hash = contract.write.setNumber(42, security=params)
result = contract.read.getNumber(security=params)Low-level API
EIP-712 typed data
Last updated

