Get an Account object from a private key.
Account
import { privateKeyToAccount } from "thirdweb/wallets"; const wallet = privateKeyToAccount({ client, privateKey: "...",});
function privateKeyToAccount( options: PrivateKeyToAccountOptions,): Account;
The options for privateKeyToAccount Refer to the type PrivateKeyToAccountOptions
privateKeyToAccount
PrivateKeyToAccountOptions
let options: PrivateKeyToAccountOptions;
let returnType: Account;
The Account object that represents the private key