Query a specific vault
This endpoint will return important data on a specific vault
Return data on a specific vault
The GET /Vaults/{vaultAddress} endpoint returns the configuration of a specific vault when you pass in the vault's "poolAddr" in the {vaultAddress} field. This includes important information like the current interest rate, cut-off times, processing times, and the exchange rate.
get
getPoolOverviewCTOFunction
Authorizations
Path parameters
vaultAddressstring · EthAddrRequired
Responses
200
Get Pool Overview
application/json
get
GET /vaults/{vaultAddress} HTTP/1.1
Host: api.open-trade.io
x-api-key: YOUR_API_KEY
Accept: */*
200
Get Pool Overview
{
"vaultAddress": "text",
"vaultOverviewCTO": {
"businessDayRegistryAddr": "0x4c313fcc2743ff5ba2441c0df184489b784644fd",
"closeOfDepositTime": 0,
"closeOfWithdrawTime": 0,
"transferInDays": 0,
"transferOutDays": 0,
"nonBusinessDays": "",
"id": "",
"poolType": 0,
"poolAddr": "0x4c7dd261e8c7591efe4dfd99048aab718b74a112",
"liquidityAssetAddr": "0x3175d859db39f19e56f90ea2aeedb67ba4f1f3dd",
"poolControllerAddr": "0xaf84d4cea762245af1a76d641d8de85796d7d1a1",
"feeVaultAddr": "0x05fd1416f5a7a6eb6ec021d2e01b7b1006fcd967",
"withdrawControllerAddr": "0x07e641f5578ddf136f4f48d991ce485a24f05a79",
"name": "TokenName",
"symbol": "OTT",
"borrowerManagerAddr": "0x84ef6953289d5fb11deadccf7f536ffd506b9c2a",
"borrowerWalletAddr": "0x9475a6745ed7151060aeb6bca40e9e6de19fa276",
"borrowerVaultAddr": "0x6731d83ad933bec0104bdc7207e160cef158fd81",
"poolAdminAddr": "0x518cca8569b42133ba5ed30260f07e8d4b699047",
"maxCapacity": "78000000000",
"blockNumber": 0,
"timestamp": 0,
"dayNumber": 0,
"timeOfDay": 0,
"chainId": "5",
"totalOutstandingLoanPrincipal": "45000000000",
"interestRate": "",
"dailyInterestRate": "",
"state": 0,
"totalPrincipalEarningInterest": "55000000000",
"totalInterestAccrued": "98000000000",
"totalAssetsDeposited": "77000000000",
"totalAssetsWithdrawn": "51000000000",
"exchangeRate": "",
"totalSupply": "28000000000",
"totalRequestedShares": "19000000000",
"totalRequestedAssets": "53000000000",
"totalSharesTransitioningIn": "52000000000",
"totalAssetsTransitioningIn": "33000000000",
"totalAssetsDueForWithdraws": "76000000000",
"lastDayAccrued": 0
}
}
Last updated