Get the assets a v4 hub carries
get_hub_assetsv4 only. The assets held by one Aave v4 hub, with hub-wide supplied and borrowed totals, rates and utilisation. Get hubId from get_hubs (or the hubAddress on get_reserve_details). This is hub-level accounting; for what a user can actually supply or borrow, use get_markets, which is per spoke.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hubId": "<hubId>"
},
"name": "get_hub_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hubId | Yes | hubId from get_hubs. | |
| version | No | Optional, and only 'v4': this tool exists on v4 only. |