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.opentradeqa.com
x-api-key: YOUR_API_KEY
Accept: */*
200

Get Pool Overview

{
  "vaultAddress": "text",
  "vaultOverviewCTO": {
    "businessDayRegistryAddr": "0x4e60010b795ec519ea363f60d7341bcf1918ca50",
    "closeOfDepositTime": 0,
    "closeOfWithdrawTime": 0,
    "transferInDays": 0,
    "transferOutDays": 0,
    "nonBusinessDays": "",
    "feeVaultAddr": "0xa62f022188cfb2707d44f3b25e246c318573c340",
    "withdrawControllerAddr": "0xe9ef4c2aa6078886bc125c2b37a1a0010498618e",
    "borrowerVaultAddr": "0xfbfae7d7dbfed90303273525631a55e9934a2312",
    "maxCapacity": "68000000000",
    "id": "",
    "poolType": 0,
    "poolAddr": "0x0bf8be456514bbc8b520b3b90ed7b472601daf2f",
    "liquidityAssetAddr": "0x4f211d5faf194406a0c47a01dfa9e89cb4ceb287",
    "poolControllerAddr": "0x88567a84e7d072f0f99784b9723aa51b0ea502d9",
    "name": "TokenName",
    "symbol": "OTT",
    "borrowerManagerAddr": "0xd8dabc45732065c8e49cb034fa1a325c1bd93ac0",
    "poolAdminAddr": "0x247e798d60c36bc9a9af59bb56eb5e881a0c26e8",
    "borrowerWalletAddr": "0x6dab5c9b4aaa0133988ad30d532c02d98bd55620",
    "chainConfigurationName": "",
    "creationBlock": 0,
    "blockNumber": 0,
    "timestamp": 0,
    "dayNumber": 0,
    "timeOfDay": 0,
    "chainId": "5",
    "totalOutstandingLoanPrincipal": "18000000000",
    "interestRate": "",
    "dailyInterestRate": "",
    "state": 0,
    "totalPrincipalEarningInterest": "23000000000",
    "totalInterestAccrued": "45000000000",
    "totalAssetsDeposited": "33000000000",
    "totalAssetsWithdrawn": "37000000000",
    "exchangeRate": "",
    "totalSupply": "94000000000",
    "totalRequestedShares": "29000000000",
    "totalRequestedAssets": "59000000000",
    "totalSharesTransitioningIn": "75000000000",
    "totalAssetsTransitioningIn": "59000000000",
    "totalAssetsDueForWithdraws": "98000000000",
    "lastDayAccrued": 0
  }
}

Last updated