PlaintextTx
Unencrypted transaction view for debugging
Unencrypted transaction view returned by debug writes (.dwrite). Contains the same fields as a shielded transaction but with plaintext calldata (before AES-GCM encryption).
Definition
@dataclass(frozen=True)
class PlaintextTx:
to: ChecksumAddress | None
data: HexBytes
nonce: int
gas: int
gas_price: int
value: intFields
to
ChecksumAddress | None
Recipient address, or None for contract creation
data
HexBytes
Plaintext calldata (before encryption)
nonce
int
Sender's transaction count
gas
int
Gas limit
gas_price
int
Gas price in wei
value
int
Amount of wei to transfer
Example
Notes
The
datafield is unencrypted — contrast withUnsignedSeismicTx.datawhich holds ciphertextOnly available via
.dwrite, not.writeThe broadcast transaction uses the encrypted data, not this plaintext
See Also
DebugWriteResult — contains PlaintextTx
UnsignedSeismicTx — shielded version with encrypted data
Last updated

