Retrieve Anchor Data from a Candy Machine using the JS library

self.solana5d ago
Hi, Im writing a program using the solana/web.js library and I want to get the data from a given CandyMachine id account. I saw that on Solana Explorer there is a part called "Anchor Data" where there is exactly what I want (data about the CandyMachine) but I don't know how to retrieve that data using the library. Does someone know how to ? ​ Link & Picture for example : []( Thanks to the SOL community :)