All Caishen wallets come with support for crosschain swaps and sending
It's this easy to create your multichain wallets
🔍 Get Wallet Info
⚠️ The privateKey is only returned if allowPrivateKeyAccess is enabled in your developer dashboard.
You do not need to send the private key back to the server. All you need is { account, chainType }.
📥 Parameters
Name
Type
Required
Description
chainType
string
✅
Blockchain type (ETHEREUM, SOLANA, etc.)
chainId
number
❌
Optional chain ID (e.g., 1 for Ethereum)
account
number
✅
Account index or identifier
✅ Supported chainTypes:
BITCOIN, SOLANA, ETHEREUM, SUI, APTOS, TON
TRON, NEAR, XRP, CARDANO, COSMOS
📘 Example
📚 Type: IWalletAccount
Copy your Project Key
Example 1: Creating Wallets on EVM, Bitcoin, Solana, SUI & XRPExample 2: Creating Multiple Wallets for a Single UserExample 3: Creating EVM Wallets for 10 UsersExample 4: Creating EVM Wallets for 10 UsersExample 5: Creating Wallets on EVM, Bitcoin, Solana, SUI & XRP for 10 Users
Minimal WalletInput
Used for all cash and swap functions to avoid sending sensitive data.
💸 Token Operations
🚫 Use MinimalWalletInput when possible to reduce sensitive data exposure.
➕ Send Token
📊 Get Balance
🔁 Token Swap
🚫 Do not send the full wallet object. Use only { account, chainType }.
interface IWalletAccount {
address: string;
chainType: string;
account: number;
publicKey: string;
privateKey?: string; // Only returned if access is enabled in the dashboard
}