@aave/cli
v4.1.0-next.45
Published
CLI to interact with AaveKit API
Downloads
1,054
Readme
@aave/cli
CLI to interact with AaveKit API
Usage
$ npm install -g @aave/cli
$ aave COMMAND
running command...
$ aave (--version)
@aave/cli/4.1.0-next.42 darwin-arm64 node-v22.17.0
$ aave --help [COMMAND]
USAGE
$ aave COMMAND
...Commands
aave borrows listaave hubs listaave positions listaave reserves listaave spokes listaave supplies list
aave borrows list
List user borrows for a specific chain
USAGE
$ aave borrows list --user <evm-address> -c <chain-id> [--json]
FLAGS
-c, --chain_id=<chain-id> (required) Chain ID to query borrows from
--user=<evm-address> (required) User address
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List user borrows for a specific chainSee code: src/commands/borrows/list.ts
aave hubs list
List Aave v4 liquidity hubs
USAGE
$ aave hubs list [--json] [-c <chain-id>]
FLAGS
-c, --chain=<chain-id> The chain ID (e.g. 1, 137, 42161)
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List Aave v4 liquidity hubsSee code: src/commands/hubs/list.ts
aave positions list
List user positions across chains
USAGE
$ aave positions list --user <evm-address> -c <chain-id> [--json]
FLAGS
-c, --chain_id=<chain-id> (required) Filter by chain ID
--user=<evm-address> (required) User address
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List user positions across chainsSee code: src/commands/positions/list.ts
aave reserves list
List Aave v4 reserves
USAGE
$ aave reserves list [--json] [-s <spoke-id>] [-h <hub-id>] [--hub_address <evm-address> -c <chain-id>]
FLAGS
-c, --chain_id=<chain-id> The chain ID (e.g. 1, 137, 42161)
-h, --hub_id=<hub-id> The hub ID (e.g. SGVsbG8h…)
-s, --spoke_id=<spoke-id> The spoke ID (e.g. SGVsbG8h…)
--hub_address=<evm-address> The hub address (e.g. 0x123…)
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List Aave v4 reservesSee code: src/commands/reserves/list.ts
aave spokes list
List Aave v4 spokes
USAGE
$ aave spokes list [--json] [-h <hub-id>] [--hub_address <evm-address> -c <chain-id>]
FLAGS
-c, --chain_id=<chain-id> The chain ID (e.g. 1, 137, 42161)
-h, --hub_id=<hub-id> The hub ID (e.g. SGVsbG8h…)
--hub_address=<evm-address> The hub address (e.g. 0x123…)
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List Aave v4 spokesSee code: src/commands/spokes/list.ts
aave supplies list
List user supplies for a specific chain
USAGE
$ aave supplies list --user <evm-address> -c <chain-id> [--json]
FLAGS
-c, --chain_id=<chain-id> (required) Chain ID to query supplies from
--user=<evm-address> (required) User address
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
List user supplies for a specific chainSee code: src/commands/supplies/list.ts
