bugdebug_send_shielded_transaction

Send shielded transaction and return debug artifacts

Same send pipeline as send_shielded_transaction, plus plaintext/encrypted transaction views.

Signatures

# sync
w3.seismic.debug_send_shielded_transaction(...same args as send_shielded_transaction...) -> DebugWriteResult

# async
await w3.seismic.debug_send_shielded_transaction(...same args...) -> DebugWriteResult

Returns

DebugWriteResult with:

Field
Type
Description

tx_hash

HexBytes

Transaction hash from the network

plaintext_tx

Transaction with unencrypted calldata

shielded_tx

Full TxSeismic with encrypted calldata

The transaction is broadcast — this is not a dry run.

Example

result = w3.seismic.debug_send_shielded_transaction(to="0xTarget", data=calldata)
print(result.tx_hash.hex())
print(result.plaintext_tx.data.hex())
print(result.shielded_tx.data.hex())

Notes

  • Parameters are identical to send_shielded_transaction

  • For contract interactions, prefer contract.dwrite.functionName(...) which handles ABI encoding automatically

  • Be careful logging plaintext_tx in production — it contains unencrypted calldata

See Also

Last updated