Skip to main content
Coinbase Developer Documentation home page
Search...
⌘K
Get help
Dev portal
Dev portal
Search...
Navigation
Functions
createSolanaAccount
Docs
API Reference
SDKs
SDKs
Overview
BUILD ONCHAIN
CDP SDKs v2
Backend
Frontend
Overview
@coinbase/create-cdp-app
@coinbase/cdp-core
Overview
Classes
Functions
authenticateWithJWT
createCDPEmbeddedWallet
createEvmEoaAccount
createEvmSmartAccount
createSolanaAccount
createSpendPermission
exportEvmAccount
exportSolanaAccount
fetchWithX402
getAccessToken
getAccessTokenExpiration
getCurrentUser
getCurrentUserSync
getUserOperation
initialize
isSignedIn
linkApple
linkEmail
linkGoogle
linkOAuth
linkSms
listSpendPermissions
onAuthStateChange
onOAuthStateChange
revokeSpendPermission
sendEvmTransaction
sendSolanaTransaction
sendUserOperation
signEvmHash
signEvmMessage
signEvmTransaction
signEvmTypedData
signInWithEmail
signInWithOAuth
signInWithSms
signOut
signSolanaMessage
signSolanaTransaction
toViemAccount
verifyEmailOTP
verifyOAuth
verifySmsOTP
Interfaces
Type Aliases
Variables
Reference
@coinbase/cdp-hooks
@coinbase/cdp-react
@coinbase/cdp-solana-standard-wallet
@coinbase/cdp-wagmi
CDP SDKs v1
AgentKit
MiniKit
CONSUMER APIs
Coinbase Advanced Trade
INSTITUTIONAL APIs
Coinbase Prime
On this page
Returns
Throws
Functions
createSolanaAccount
Copy page
Copy page
Report incorrect code
Copy
Ask AI
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.
Was this page helpful?
Yes
No
createEvmSmartAccount
Previous
createSpendPermission
Next
⌘I