### Query Documentation Index Source: https://docs.openleverage.finance/main/rewards/trading-and-lending-rewards Perform an HTTP GET request to the documentation index with the 'ask' parameter to get a direct answer to a question. The question should be specific and self-contained. ```http GET https://docs.openleverage.finance/main/rewards/trading-lending-and-borrowing-rewards.md?ask= ``` -------------------------------- ### Query Documentation via HTTP GET Source: https://docs.openleverage.finance/main/contact-us Perform an HTTP GET request to query documentation dynamically. The question should be specific and in natural language. Use this when the answer is not explicitly present or for clarification. ```http GET https://docs.openleverage.finance/main/contact-us.md?ask= ``` -------------------------------- ### Query Documentation Dynamically Source: https://docs.openleverage.finance/main/brand-assets Perform an HTTP GET request with the 'ask' query parameter to dynamically query the documentation. Use this when the answer is not explicitly present, for clarification, or to retrieve related sections. ```http GET https://docs.openleverage.finance/main/brand-assets.md?ask= ``` -------------------------------- ### Query Documentation Dynamically Source: https://docs.openleverage.finance/main/product/wallet-setup To get information not explicitly present on the page, perform an HTTP GET request with the 'ask' query parameter. The question should be specific and in natural language. ```HTTP GET https://docs.openleverage.finance/main/product/wallet-setup.md?ask= ``` -------------------------------- ### Query Documentation Dynamically Source: https://docs.openleverage.finance/main/dev Perform an HTTP GET request to the current page URL with the 'ask' query parameter to dynamically query the documentation. Use this for specific questions, clarifications, or to retrieve related documentation sections when information is not explicitly present. ```http GET https://docs.openleverage.finance/main/dev.md?ask= ``` -------------------------------- ### Querying Documentation with 'ask' Parameter Source: https://docs.openleverage.finance/main/protocol-overview/ondemand-oracle To get additional information not directly on the page, make an HTTP GET request to the documentation URL with the 'ask' query parameter. The question should be specific and self-contained. ```HTTP GET https://docs.openleverage.finance/main/protocol-overview/ondemand-oracle.md?ask= ``` -------------------------------- ### Query Documentation Dynamically Source: https://docs.openleverage.finance/main/product/notification-1 Perform an HTTP GET request to a specific page URL with the 'ask' query parameter to dynamically query the documentation. The question should be specific and in natural language. Use this for clarification, additional context, or retrieving related sections when information is not explicitly present. ```HTTP GET https://docs.openleverage.finance/main/product/notification-1.md?ask= ``` -------------------------------- ### Perform HTTP GET Request with 'ask' Parameter Source: https://docs.openleverage.finance/main/disclaimer Use this method to query documentation dynamically when information is not directly available. The question should be specific and in natural language. ```HTTP GET https://docs.openleverage.finance/main/disclaimer.md?ask= ``` -------------------------------- ### Stats for Individual Lending Pool Source: https://docs.openleverage.finance/main/dev/github Get specific statistics for a single lending pool identified by its address. ```APIDOC ## GET /api/info/pool/ ### Description Retrieves statistics for a specific lending pool, identified by its contract address. ### Method GET ### Endpoint https://.openleverage.finance/api/info/pool/ ### Parameters #### Path Parameters - **poolAddress** (string) - Required - The unique address of the lending pool. #### Query Parameters - **chain** (string) - Required - The blockchain network (e.g., bnb, kcc, eth). ``` -------------------------------- ### Query Documentation Dynamically Source: https://docs.openleverage.finance/main/governance Perform an HTTP GET request to query documentation dynamically. Use the `ask` query parameter with a specific, self-contained question in natural language. This mechanism is useful when the answer is not explicitly present on the page, requires clarification, or needs related documentation sections. ```HTTP GET https://docs.openleverage.finance/main/governance.md?ask= ``` -------------------------------- ### Perform Dynamic Documentation Query Source: https://docs.openleverage.finance/main/governance/ole-buybacks Use this method to query documentation dynamically when information is not explicitly present. The question should be specific and self-contained. ```http GET https://docs.openleverage.finance/main/governance/ole-buybacks.md?ask= ``` -------------------------------- ### All Pool Lending and Borrowing Interest Info Source: https://docs.openleverage.finance/main/dev/github Fetches detailed interest rate information for all lending pools. ```APIDOC ## GET /api/info/pools/interest ### Description Fetches detailed lending and borrowing interest rate information for all available pools. ### Method GET ### Endpoint https://.openleverage.finance/api/info/pools/interest ### Parameters #### Query Parameters - **chain** (string) - Required - The blockchain network (e.g., bnb, kcc, eth). ``` -------------------------------- ### All Lending Pools Info Source: https://docs.openleverage.finance/main/dev/github Retrieve information about all available lending pools. This includes data on both lending and borrowing interest rates. ```APIDOC ## GET /api/info/pools ### Description Retrieves comprehensive information for all lending pools, including lending and borrowing interest rates. ### Method GET ### Endpoint https://.openleverage.finance/api/info/pools ### Parameters #### Query Parameters - **chain** (string) - Required - The blockchain network (e.g., bnb, kcc, eth). ``` -------------------------------- ### Uniswap V2 Price Oracle Structure Source: https://docs.openleverage.finance/main/protocol-overview/ondemand-oracle This struct stores the necessary data for calculating TWAP on Uniswap V2, including timestamps, prices, and cumulative price sums. ```Solidity struct V2PriceOracle { uint32 blockTimestampLast; // BlockTime of last update uint price0; // TWAP for token0 uint price1; // TWAP for token1 uint price0CumulativeLast; // Cumulative TWAP for token0 uint price1CumulativeLast; // Cumulative TWAP for token1 } ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.