Skip to main content
function createSolanaAccount(): Promise<string>;
Creates a Solana account for the current user. This function will throw an error if the user already has a Solana account.

Returns

Promise<string> The updated user object with the newly created Solana account.

Throws

Error if the user is not signed in or already has a Solana account.