CDP SDK TypeScript - v1.31.0
    Preparing search index...

    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;
        typedData: EIP712Message;
        ownerIndex?: bigint;
        idempotencyKey?: string;
    }
    Index

    Properties

    chainId: bigint

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

    typedData: EIP712Message

    The EIP-712 typed data message to sign.

    ownerIndex?: bigint

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

    idempotencyKey?: string

    Optional idempotency key for the signing request.