Connect SDK

getServerWallets

List all server wallets.

Example

import { Engine } from "thirdweb";
const serverWallets = await Engine.getServerWallets({
client,
});
console.log(serverWallets);
function getServerWallets(
): Promise<{
accounts: Array<{
address: string;
createdAt: string;
label?: string;
smartAccountAddress?: string;
}>;
pagination: { limit: number; page: number; totalCount: number };
}>;

Parameters

The parameters for the server wallet.

Type

let params: { client: ThirdwebClient; limit?: number; page?: number };

Returns

let returnType: Promise<{
accounts: Array<{
address: string;
createdAt: string;
label?: string;
smartAccountAddress?: string;
}>;
pagination: { limit: number; page: number; totalCount: number };
}>;

an array of server wallets with their signer address and predicted smart account address.