Complete API reference for Phantom Server SDK methods, types, and utilities
config
(ServerSDKConfig) - Configuration objectwalletName
(string, optional) - Custom name for the walletPromise<CreateWalletResult>
- Object containing:
walletId
(string) - Unique identifier for the walletaddresses
(WalletAddress[]) - Array of blockchain addresseslimit
(number, optional) - Number of results per page (default: 20, max: 100)offset
(number, optional) - Pagination offset (default: 0)Promise<GetWalletsResult>
- Object containing:
wallets
(Wallet[]) - Array of wallet objectstotalCount
(number) - Total number of walletslimit
(number) - Results per pageoffset
(number) - Current offsetwalletId
(string) - The wallet IDderivationPaths
(string[], optional) - Custom derivation pathsPromise<WalletAddress[]>
- Array of wallet addresses
walletId
(string) - The wallet ID to sign withtransaction
(string) - The web3js transactionnetworkId
(NetworkId) - The target networkPromise<SignedTransaction>
- Object containing:
rawTransaction
(string) - Base64-encoded signed transactionwalletId
(string) - The wallet ID to sign withmessage
(string) - The message to signnetworkId
(NetworkId) - The network context for signingPromise<string>
- Base64-encoded signature
NetworkId
enum specifies which blockchain network to use: