Position inventory
trdefi_position_inventoryWhether one position can actually be filled right now: the balance sitting in the strategy, the maker wallet balance behind it, and the remaining allowance, read from the chain. An Aqua virtual balance is a bookkeeping ceiling, not a reserve, so a position can answer a quote while the wallet behind it is empty - and the swap then reverts at the pull. Check this before signing a swap against a position that matters: fillable=false means the quote is real but the fill is not. Read-only, free, no key, and no dependency on 1inch rate limits.
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": {
"hash": "<hash>"
},
"name": "trdefi_position_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Strategy hash, 64 hex characters. | |
| overview | No | Also fetch 1inch's overview (status, openedAt, price range). Costs the upstream rate limit, so it is off by default. |