Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion agent-wallet-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,16 @@ const sidebar = {
'guides/trade-prediction-markets',
'guides/earn-yield-vaults',
'guides/pay-for-apis-x402',
'guides/lend-and-borrow-aave',
'guides/check-balances-and-prices',
'guides/sign-messages-and-transactions',
],
},
{
type: 'category',
label: 'Plugins',
collapsed: false,
items: ['plugins/index', 'plugins/install-a-plugin', 'plugins/build-a-plugin'],
},
{
type: 'category',
label: 'Reference',
Expand All @@ -43,6 +48,7 @@ const sidebar = {
'reference/trading-modes',
'reference/outflow-policy',
'reference/commands',
'reference/plugins',
'reference/error-codes',
'reference/supported-chains',
],
Expand Down
7 changes: 1 addition & 6 deletions agent-wallet/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ Your agent routes natural-language requests to these commands through installed
| [Prediction markets](guides/trade-prediction-markets.md) | Search, quote, trade, and redeem on Polymarket |
| [Earn (yield vaults)](guides/earn-yield-vaults.md) | Supply and withdraw across chains and protocols, including Aave |
| [x402 payments](guides/pay-for-apis-x402.md) | Pay for HTTP 402 paywalled APIs and endpoints |
| [Aave V3 lending](guides/lend-and-borrow-aave.md) | Borrow, repay, and manage collateral through the Aave API |
| [Market data](guides/check-balances-and-prices.md) | Spot prices, token discovery, supported chains |
| [Plugins](plugins/index.md) | Extend Agent Wallet with custom commands from npm packages |

<!-- vale on -->

Expand Down Expand Up @@ -117,11 +117,6 @@ See [Supported chains](reference/supported-chains.md) for typical networks.
title: 'Earn with yield vaults',
description: 'Supply and withdraw from yield vaults across chains and protocols.',
},
{
href: '/agent-wallet/guides/lend-and-borrow-aave',
title: 'Lend and borrow with Aave V3',
description: 'Supply, borrow, repay, and manage Aave V3 positions through your agent.',
},
{
href: '/agent-wallet/reference/trading-modes',
title: 'Trading modes',
Expand Down
16 changes: 16 additions & 0 deletions agent-wallet/guides/check-balances-and-prices.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,24 @@ mm price currencies
mm price networks
```

`--asset-ids` takes comma-separated CAIP-19 asset IDs. To price a chain's native asset, pass the
bare CAIP-2 chain ID and the CLI resolves it for you, so `eip155:1` becomes `eip155:1/slip44:60`:

```bash
mm price spot --asset-ids eip155:1,eip155:8453 --vs USD
```

Use `mm token assets` to resolve asset identifiers for tokens you care about.

## Historical prices

```bash
mm price history --chain-id eip155:1 --time-period 7d
mm price history --chain-id eip155:1 --asset-type erc20:0x<ADDRESS> --time-period 30d
```

`--asset-type` is optional and defaults to the chain's native asset.

## Token discovery

```bash
Expand Down
202 changes: 0 additions & 202 deletions agent-wallet/guides/lend-and-borrow-aave.md

This file was deleted.

Loading
Loading