Core APIReferenceVaultsSlug

/vaults/{slug}/positions

Get the asset positions for a vault by slug

GET
/vaults/{slug}/positions

Get the asset positions for a vault by slug

Path Parameters

slug*string

Unique slug identifier for the vault.

Length1 <= length

Query Parameters

liveLiquidity?string
Defaultfalse

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/vaults/nest-alpha-vault/positions"
{  "data": {    "vaultAddress": "string",    "positions": {      "liquidAssets": [        {          "tokenAddress": "string",          "chainId": 0,          "symbol": "string",          "position": {            "value": 0          },          "pendingTransactions": [            {              "value": 0            }          ]        }      ],      "offChainValue": 0,      "yieldAssets": [        {          "slug": "string",          "tokens": [            {              "tokenAddress": "string",              "chainId": 0,              "symbol": "string",              "position": {                "amount": 0,                "price": 0,                "value": 0,                "yield": 0              },              "pendingTransactions": [                {                  "type": "PendingDeposit",                  "amount": 0,                  "price": 0,                  "value": 0,                  "requestId": 0                }              ]            }          ]        }      ]    },    "supplyByChain": {      "property1": {        "supply": 0,        "supplyRaw": "string",        "decimals": 0      },      "property2": {        "supply": 0,        "supplyRaw": "string",        "decimals": 0      }    },    "errors": [      {        "source": "superstate",        "operation": "getPendingTransactions",        "message": "superstate getPendingTransactions timed out after 10000ms",        "code": "TIMEOUT",        "timestamp": 1704067200      }    ]  }}