Actions5
Wallet → Get or Create Wallet
AI-generatedSummary
Get or create a Crossmint wallet on the Solana blockchain, optionally identified by owner information such as email, user ID, phone number, Twitter handle, or X handle, authorized with an admin signer's private key.
Inputs
- Chain Type (required) — Select the blockchain type; currently only Solana is supported.
- Owner Type (Optional) — Choose the type of user locator to identify the wallet owner; can be email, user ID, phone number, Twitter handle, X handle, or none.
- Owner Email (required) — Email address of the wallet owner; required if Owner Type is 'Email'.
- Owner User ID (required) — User ID of the wallet owner; required if Owner Type is 'User ID'.
- Owner Phone Number (required) — Phone number with country code of the wallet owner; required if Owner Type is 'Phone Number'.
- Owner Twitter Handle (required) — Twitter handle of the wallet owner (without @); required if Owner Type is 'Twitter Handle'.
- Owner X Handle (required) — X handle of the wallet owner (without @); required if Owner Type is 'X Handle'.
- Admin Signer (required) — Private key (base58 format for Solana) that authorizes all transactions from this wallet.
Output shape
a single JSON object representing the created or retrieved wallet details
The output contains complete wallet information after retrieval or creation. Errors during execution appear as JSON error objects if 'Continue On Fail' is enabled.
Examples
Example 1: Create or get a wallet on Solana blockchain using owner's email as identifier
Set Chain Type to Solana, Owner Type to Email, provide Owner Email and Admin Signer private key.