Base URL: http://localhost:3001
POST/api/wallets/generate
Generate Wallet
Derives a new cryptographically secure wallet for the specified blockchain using BIP39/BIP44 standards.
Request Body
{ "coin": "ethereum" }
Response 200
{
"address": "0xAbc123...",
"mnemonic": "word1 word2 ... word12",
"privateKey": "0x...",
"publicKey": "04...",
"path": "m/44'/60'/0'/0/0",
"coin": "ethereum"
}
GET/api/wallets
List Wallets
Returns a paginated list of all wallets stored in the encrypted SQLite registry.
Response 200
{ "wallets": [ { "id": 1, "coin": "ethereum", "address": "0x...", "createdAt": "..." } ] }
GET/api/wallets/:address
Get Wallet by Address
Retrieves full wallet details by its public blockchain address.
GET/api/wallets/config/settings
Get Master Addresses
Returns the current sweep destination addresses for all supported chains.
POST/api/wallets/config/settings
Update Master Addresses
Updates the sweep destination addresses. Requires admin auth header.
GET/api/wallets/config/contracts
List Custom Token Contracts
Returns all registered custom token contract addresses.
POST/api/wallets/config/contracts
Add Custom Token Contract
Registers a new custom token contract address for wallet generation support.
DELETE/api/wallets/config/contracts/:id
Remove Contract
Deletes a registered token contract by its ID.