Wallets API
Linka provides a high-performance wallet infrastructure that allows you to create and manage digital asset balances for your users at scale.
Wallet Types
- Institutional Wallet: Your primary account balance.
- User Wallet: Managed wallets created for your end-users.
- Omnibus Wallet: A single large wallet used to aggregate funds for multiple users.
Create a User Wallet
Generate a new on-chain address for a specific network.
POST https://api.linka.xyz/v1/wallets
Request Body
{
"name": "User 98765 Wallet",
"currency": "USDC",
"network": "polygon",
"metadata": {
"external_user_id": "98765"
}
}
Response
{
"id": "wal_abc123",
"address": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
"currency": "USDC",
"network": "polygon",
"status": "active",
"balance": "0.00"
}
Check Balance
Retrieve the current real-time balance of a specific wallet.
GET https://api.linka.xyz/v1/wallets/{wallet_id}/balance
Response
{
"wallet_id": "wal_abc123",
"available_balance": "1540.50",
"locked_balance": "0.00",
"total_balance": "1540.50",
"currency": "USDC"
}
Multi-Chain Support
Linka wallets are native to their respective networks. We currently support:
| Network | Supported Assets |
|---|---|
| Polygon | USDC, USDT, MATIC |
| Ethereum | USDC, USDT, ETH |
| Stellar | USDC, XLM |
| Solana | USDC, SOL |
Security Features
- MPC Technology: We use Multi-Party Computation to ensure private keys are never stored in a single location.
- Whitelist Only: You can restrict outgoing payments to only pre-approved addresses.
- Real-time Monitoring: Every transaction is screened for suspicious activity before being broadcast.