Skip to main content
The Server SDK is currently experimental and not ready for production use. Reach out to partnerships@phantom.com for access.
This guide covers wallet creation, address management, and inventory operations using the Phantom Server SDK.

Creating wallets

Basic wallet creation

The simplest way to create a wallet is with the createWallet method:

Named wallets

Use meaningful names to organize and identify wallets:
Always use descriptive wallet names that help you identify the wallet’s purpose or owner. This makes wallet recovery and management much easier.

Understanding wallet addresses

When you create a wallet, it automatically generates addresses for multiple blockchains:

Extracting specific addresses

Storing wallet information

Always persist the wallet ID immediately after creation. You cannot recover a wallet without its ID.

Database integration example

Retrieving wallet addresses

Get addresses for an existing wallet using its ID:

Listing wallets

Basic wallet listing

Get all wallets in your organization:

Pagination

Handle large numbers of wallets with pagination:

Filtering and searching

The SDK returns wallet metadata. You can implement filtering in your application:

Next steps

Disclaimers

The Server SDK is a beta version, and Phantom will not be liable for any losses or damages suffered by you or your end users. Any suggestions, enhancement requests, recommendations, or other feedback provided by you regarding the Server SDK will be the exclusive property of Phantom. By using this beta version and providing feedback, you agree to assign any rights in that feedback to Phantom.