{"repo":"yearn/ydaemon","free":true,"listed":false,"github":"https://github.com/yearn/ydaemon","clone":"git clone https://github.com/yearn/ydaemon.git","description":"Legacy REST API","language":"Go","stars":40,"topics":["api","ethereum","golang"],"license":null,"category":"blockchain-web3","readme_excerpt":"yDaemon yDaemon is a legacy rest API for Yearn data. Please refer to Kong for the latest Yearn data. yDaemon is the next-gen API for Yearn. Based on the API from yearn-exporter, it brings a lot of new features and benefits without breaking the existing system. See documentation here: https://ydaemon.yearn.farm/ Use with Docker First, ensure Docker is installed on your system then, clone the repo and create the '.env' file: Then to run, type: To stop, type: Manual Install First, ensure Go is installed on your system. then, clone the repo and create the .env file: Then, install, build and run the API: After a few seconds, you should see the API running. You can test it by running the following command: Endpoints GET [BASE URL]/[chainID]/vaults/all This endpoint returns all the vaults of the specified chainID. Supported chains are 1 , 10 , 137 , 250 , 8453 and 42161 . Query ?skip=N will skip N vault from the graphQL query. Default is 0 ?first=N will limit the result to N vaults on the graphQL query. Default is 1000 ?orderBy=S will order the result by S on the graphQL query. Default is activation ?orderDirection=asc desc will order the result by ascending or descending on the graphQL query. Default is desc ?strategiesCondition=debtLimit inQueue absolute will select the \"active\" strategies based on the specified strategy. Default is debtLimit ?strategiesDetails=withDetails noDetails indicates if we should also query and serve the details about the strategies. If noDetails is set, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/yearn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yearn/ydaemon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}