Skip to main content

Module transactions

Module transactions 

Source
Expand description

Wrappers for transactions.

Modules§

broadcast 🔒
builder 🔒
receipt 🔒

Structs§

TransactionReceiptWithRevertReason
Helper type to carry a transaction along with an optional revert reason

Enums§

TransactionMaybeSigned
Used for broadcasting transactions A transaction can either be a TransactionRequest waiting to be signed or a TxEnvelope, already signed

Constants§

TEMPO_BROWSER_WEBAUTHN_DATA_SIZE
Viem’s Tempo formatter uses a 1,400-byte WebAuthn placeholder when the signature is not yet available. Tempo RPC encodes that size as a two-byte big-endian keyData value (0x0578).

Traits§

FoundryReceiptResponse
Helper trait providing contract_address setter for generic ReceiptResponse
FoundryTransactionBuilder
Composite transaction builder trait for Foundry transactions.

Functions§

extract_revert_reason
get_pretty_receipt_w_reason_attr
Returns the UiFmt::pretty() formatted attribute of the transaction receipt with revert reason