Manage Smart Treasury
Smart Treasury automates balance management by monitoring thresholds and triggering top-ups from your configured funding sources.
How Smart Treasury Works
Balance drops below minimum threshold
↓
Smart Treasury checks eligible funding sources
↓
Automatically executes top-up conversion or transfer
↓
Balance restored to target level
↓
Webhook notification sent
Key Concepts
| Concept | Description |
|---|---|
| Managed Balance | A balance you want to keep at a target level |
| Target Balance | The ideal amount to maintain |
| Min Threshold | When balance drops below this, a top-up is triggered |
| Max Threshold | Maximum cap for the balance |
| Funding Source | Where top-up funds come from (asset pool, venue) |
Quick Start
1. Create a Managed Balance
POST /api/v1/managed-balance
{
"name": "USDC Hot Wallet",
"assetPoolId": "pool-uuid",
"asset": "USDC",
"targetBalance": 50000,
"minThreshold": 10000,
"maxThreshold": 100000
}
2. Add a Funding Source
PUT /api/v1/managed-balance/{id}/funding-source
{
"sourceType": "ASSET_POOL",
"sourceId": "reserve-pool-uuid",
"priority": 1
}
3. Monitor
Smart Treasury will now automatically top up when the USDC balance drops below 10,000 USDC, pulling funds from the reserve pool and converting if necessary.
Configure via Portal
- Navigate to Treasury > Managed Balances
- Click Create Managed Balance
- Select the asset pool and asset
- Set target, min, and max thresholds
- Add one or more funding sources with priority order
- Enable the managed balance
Predicting Top-Ups
View predicted top-up timing based on current balance trends and historical data in the portal under Treasury > Predictions.
Notifications
Smart Treasury sends webhook events for all operations:
balance.updated— When a top-up is executed- Treasury-specific events via the Activity Logs API
Next Steps
- Treasury API Reference for full API details
- Webhooks for notification setup