Create a server wallet.
import { Engine } from "thirdweb"; const serverWallet = await Engine.createServerWallet({ client, label: "My Server Wallet",});console.log(serverWallet.address);console.log(serverWallet.smartAccountAddress);
function createServerWallet( params: CreateServerWalletArgs,): Promise<{ address: string; smartAccountAddress?: string }>;
The parameters for the server wallet.
let params: { client: ThirdwebClient; label: string };
let returnType: Promise<{ address: string; smartAccountAddress?: string;}>;
The server wallet signer address and the predicted smart account address.