Treasury
Treasury collects and displays Web3 balances for the addresses in the addresses table.
Refresh
POST /treasury/update starts a background refresh. Parameters:
maxId;minValue;concurrencybetween 1 and 20.
Current progress is available from GET /treasury/status.
Presentation
The page shows:
- total value;
- balances by account and by chain;
- top tokens;
- distribution across chains;
- a portfolio summary.
Which chains appear is decided by the columns of the actual _treasury table.
AI
Portfolio analysis goes through OmniRoute. The result is kept in the Treasury AI cache.
API
POST /treasury/updateGET /treasury/statusGET /treasury/dataPOST /treasury/ai-analyzeGET /treasury/ai-cacheDELETE /treasury/ai-cache