salt-sdk - v0.0.45
    Preparing search index...

    Type Alias ViemTypedDataSignerLike

    ViemTypedDataSignerLike: Pick<WalletClient, "signTypedData"> & {
        account: NonNullable<WalletClient["account"]>;
        chain?: { id: number };
    }

    Narrowed view of a viem WalletClient covering only what's needed to sign EIP-712 typed data directly — a full signTypedData, which ViemWalletClientLike doesn't expose. Used for CreateAccountParams.payer, and for the organisation owner's wallet that seals policy changes.

    Type Declaration

    • account: NonNullable<WalletClient["account"]>
    • Optionalchain?: { id: number }

      The chain the wallet is on, when it has one. A 402 quoting several networks is paid on this one if it's among them.