Docs

generateAccount

Generates a new account with a random private key.

Example

import { generateAccount } from "thirdweb/wallets";
const account = await generateAccount({ client });

Parameters

Returns

A Thirdweb account.