Skip to content

API ReferenceTransactions, wallets, and signaturesInterface

AwaitTransactionResponse\<T\>

Transaction confirmation response, containing the receipt on success and the validation response if a known error occurred, associated with the offending parameter.

Type Parameters

Type Parameter
T extends AnvilWalletOperationType

Properties

error?

optional error?: object[T];

Typed error when the transaction reverted or confirmation failed. Present exactly when receipt is absent.


receipt?

optional receipt?: AnvilTransactionReceipt;

viem’s transaction receipt once the transaction has the requested confirmations. Present exactly when error is absent.