Interface SmartAccountSignAndWrapTypedDataOptions

Options for signing and wrapping EIP-712 typed data with a smart account. This method handles the full smart account signature flow including replay-safe hashing.

interface SmartAccountSignAndWrapTypedDataOptions {
    chainId: bigint;
    idempotencyKey?: string;
    ownerIndex?: bigint;
    typedData: EIP712Message;
}

Properties

chainId: bigint

The chain ID for the signature (used for replay protection).

idempotencyKey?: string

Optional idempotency key for the signing request.

ownerIndex?: bigint

The index of the owner to sign with (defaults to 0).

typedData: EIP712Message

The EIP-712 typed data message to sign.