Vaults V2
User V2 vault position
A user's live position in a Morpho Vault V2: shares held and the equivalent value in underlying assets.
Vault selector example: 1:0x23f5E9c35820f4baB695Ac1F19c203cC3f8e1e11 (format: <chain_id>:<vault_address>; replace with the target vault).
Path Parameters
user-address*string
Position owner address. Example: 0xabcdefabcdefabcdefabcdefabcdefabcdefabcd.
Format
addressvault-selector*string
Selector formatted as <chain_id>:<vault_address>. Example: 1:0x23f5E9c35820f4baB695Ac1F19c203cC3f8e1e11.
Format
<chain_id>:<vault_address>Response Body
application/json
BASE_URL="${CORE_REST_BASE_URL:-https://api.morpho.org}"MORPHO_API_KEY="<MORPHO_API_KEY>"VAULT_SELECTOR="<chain_id>:<vault_address>"USER_ADDRESS="<user_address>"curl -sS "${BASE_URL}/v0/vaults-v2/${VAULT_SELECTOR}/users/${USER_ADDRESS}/position" \ -H "accept: application/json" \ -H "x-api-key: ${MORPHO_API_KEY}"{
"data": {
"assets": "string",
"chain_id": 1,
"last_indexed_block": "string",
"shares": "string",
"user_address": "string",
"vault_address": "string"
}
}