Get V2 vault allocations
Adapter and cap allocation state of a Morpho Vault V2. Each entry is an active adapter, carrying the caps scoped to it and the assets currently allocated against each. Caps that are not scoped to a single adapter — collateral caps, and caps whose target could not be decoded — are reported separately under unscoped_caps. Caps pointing at an adapter that is no longer active are omitted.
Vault selector example: 1:0x23f5E9c35820f4baB695Ac1F19c203cC3f8e1e11 (format: <chain_id>:<vault_address>; replace with the target vault).
Path Parameters
vault-selector*string
Selector formatted as <chain_id>:<vault_address>. Example: 1:0x23f5E9c35820f4baB695Ac1F19c203cC3f8e1e11.
Format
<chain_id>:<vault_address>Response Body
application/json
curl -X GET "https://example.com/v0/vaults-v2/1:0x23f5E9c35820f4baB695Ac1F19c203cC3f8e1e11/allocations"{ "data": { "chain_id": 1, "vault_address": "0x23f5E9c35820f4baB695Ac1F19c203cC3f8e1e11", "last_indexed_block": "25475349", "allocations": [ { "adapter_address": "0x6C5D5D47A39FE9f8CA14731a9A42bD31d64fb40D", "adapter_kind": "morpho_market_v1", "target": { "type": "blue_market" }, "pending": { "removal": null }, "caps": [ { "cap_type": "adapter", "cap_id": "0xae24ee5060e52617daf39855191a6b07eb5921e80260e655a7948b507fa3956c", "cap_data": "0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000006c5d5d47a39fe9f8ca14731a9a42bd31d64fb40d00000000000000000000000000000000000000000000000000000000000000047468697300000000000000000000000000000000000000000000000000000000", "allocated_assets": "46000000000000", "absolute_cap": "115792089237316195423570985008687907853269984665640564039457584007913129639935", "relative_cap_wad": "1000000000000000000", "pending": { "absolute_cap": null, "relative_cap_wad": null } }, { "cap_type": "market_v1", "cap_id": "0x1748c76027999bc7f3df33d1872ada5ac024707b6a700327037bacf7decc1e72", "cap_data": "0x00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000006c5d5d47a39fe9f8ca14731a9a42bd31d64fb40d000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec70000000000000000000000007f39c581f595b53c5cb19bd0b3f8da6c935e2ca000000000000000000000000048f7e36eb6b826b2df4b2e630b62cd25e89e40e2000000000000000000000000870ac11d48b15db9a138cf899d20f13f79ba00bc0000000000000000000000000000000000000000000000000bef55718ad600000000000000000000000000000000000000000000000000000000000000000011746869732f6d61726b6574506172616d73000000000000000000000000000000", "market_id": "0xa5c50bd6e28de8b098defa897f677798f3f256959c2d47dabe8c5994ff53d8fd", "allocated_assets": "46000000000000", "absolute_cap": "100000000000000", "relative_cap_wad": "600000000000000000", "pending": { "absolute_cap": null, "relative_cap_wad": { "value": "650000000000000000", "valid_at_timestamp": 1730259200 } } } ] }, { "adapter_address": "0x1122334455667788990011223344556677889900", "adapter_kind": "morpho_vault_v1", "target": { "type": "vault_v1", "vault_address": "0xb576765fB15505433aF24FEe2c0325895C559FB2" }, "pending": { "removal": { "valid_at_timestamp": 1730345600 } }, "caps": [ { "cap_type": "adapter", "cap_id": "0x6a9c9d91305f96fadf8665e7c7f702d152168ae534b03dc5163db557448c2030", "cap_data": "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000112233445566778899001122334455667788990000000000000000000000000000000000000000000000000000000000000000047468697300000000000000000000000000000000000000000000000000000000", "allocated_assets": "18630689825420", "absolute_cap": "300000000000000", "relative_cap_wad": "300000000000000000", "pending": { "absolute_cap": { "value": "500000000000000", "valid_at_timestamp": 1730259200 }, "relative_cap_wad": null } } ] } ], "unscoped_caps": [ { "cap_type": "collateral", "cap_id": "0x7fec14a26d24d99916f8800202b21d034d3b543349fc0e6632a4bd78a2891a20", "cap_data": "0x00000000000000000000000000000000000000000000000000000000000000400000000000000000000000007f39c581f595b53c5cb19bd0b3f8da6c935e2ca0000000000000000000000000000000000000000000000000000000000000000f636f6c6c61746572616c546f6b656e0000000000000000000000000000000000", "collateral_address": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0", "allocated_assets": "46000000000000", "absolute_cap": "80000000000000", "relative_cap_wad": "800000000000000000", "pending": { "absolute_cap": null, "relative_cap_wad": null } } ] }}