Read an investment account's USDC and vault positions at one Base block
curl --request GET \
--url http://localhost:4100/v1/yield/{account}/positionsconst options = {method: 'GET'};
fetch('http://localhost:4100/v1/yield/{account}/positions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"blockNumber": "<string>",
"blockHash": "<string>",
"asset": "<string>",
"idleAssets": "<string>",
"positions": [
{
"venueId": "<string>",
"vault": "<string>",
"shares": "<string>",
"valueAssets": "<string>"
}
]
}Yield
Read an investment account's USDC and vault positions at one Base block
Read an investment account's USDC and vault positions at one Base block
curl --request GET \
--url http://localhost:4100/v1/yield/{account}/positionsconst options = {method: 'GET'};
fetch('http://localhost:4100/v1/yield/{account}/positions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"blockNumber": "<string>",
"blockHash": "<string>",
"asset": "<string>",
"idleAssets": "<string>",
"positions": [
{
"venueId": "<string>",
"vault": "<string>",
"shares": "<string>",
"valueAssets": "<string>"
}
]
}