TypeScript SDK

BaseAccountWalletCreationOptions

Configuration options for creating a Base Account SDK wallet.

These options are passed to createWallet when creating a Base Account wallet and configure the underlying @base-org/account SDK provider.

type BaseAccountWalletCreationOptions =
| { appMetadata?: AppMetadata; chains?: Array<Chain> }
| undefined;

Example

import { createWallet } from "thirdweb/wallets";
import { base } from "thirdweb/chains";
const wallet = createWallet("org.base.account", {
appMetadata: {
name: "My App",
logoUrl: "https://example.com/logo.png",
},
chains: [base],
});