Skip to content

API ReferenceTransactions, wallets, and signaturesInterface

CreateSignatureResponse\<T\>

Signature creation response, containing the signature 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 signing did not complete. Present exactly when signature is absent.


signature?

optional signature?: `0x${string}`;

The EIP-712 signature bytes. Length is set by the signer — 65 bytes for an EOA, longer for ERC-1271 contract signers such as a Safe.