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
}