@owney/sdk 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.cjs +486 -53
- package/dist/index.d.cts +108 -1
- package/dist/index.d.ts +108 -1
- package/dist/index.js +481 -49
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -210,6 +210,7 @@ console.log(results.agentResult.zyfai.type); // "full"
|
|
|
210
210
|
### `getBalances(agentId?)`
|
|
211
211
|
|
|
212
212
|
Get the user's balances for a specific agent, or aggregated across all agents.
|
|
213
|
+
Balances are shown after any applicable performance fees have been deducted.
|
|
213
214
|
|
|
214
215
|
| Param | Type | Description |
|
|
215
216
|
| --------- | -------------------- | ------------------------------------ |
|
|
@@ -236,6 +237,7 @@ console.log(allBalances.agentBalances.zyfai.totalBalanceAsset); // "usdc"
|
|
|
236
237
|
### `getEarnings(agentId?)`
|
|
237
238
|
|
|
238
239
|
Get the user's on-chain earnings for a specific agent, or aggregated across all agents.
|
|
240
|
+
Earnings are shown after any applicable performance fees have been deducted.
|
|
239
241
|
|
|
240
242
|
| Param | Type | Description |
|
|
241
243
|
| --------- | -------------------- | ------------------------------------ |
|