Skip to main content
function createSolanaAccount(options?: CreateSolanaAccountOptions): Promise<string>;
Creates a Solana account for the current user. Multiple Solana accounts can be created per user.

Parameters

ParameterTypeDescription
options?CreateSolanaAccountOptionsOptional options for creating the account.

Returns

Promise<string> The address of the newly created Solana account.

Throws

Error if the user is not signed in.