API ReferenceTransactions, wallets, and signaturesInterface
AnvilAuthorizationDefinition\<TKind, TSignatureType, TPayload\>
Shared, inspectable facts bound into every Anvil authorization.
Type Parameters
| Type Parameter |
|---|
TKind extends AnvilAuthorizationKind |
TSignatureType extends AnvilSignatureType |
TPayload |
Properties
chainId
readonly chainId: bigint;EIP-712 domain chain captured while building the definition.
expectedSigner
readonly expectedSigner: `0x${string}`;Account whose EOA or ERC-1271 contract must accept the signature.
kind
readonly kind: TKind;Authorization family; discriminates payload and signature type.
nonce
readonly nonce: bigint;Exact nonce captured at build time and bound into the typed-data message.
payload
readonly payload: TPayload;Family-specific values represented by the typed-data message.
signatureType
readonly signatureType: TSignatureType;Protocol nonce namespace consumed when the authorization is submitted.
typedData
readonly typedData: EIP712Preimage;Complete wallet-ready EIP-712 domain, types, and message.
verifyingContract
readonly verifyingContract: `0x${string}`;Contract that will consume the authorization.