[Dev] Quote API / contract method

Hi.

I’d like to be able to get a quote programmatically for a given {contract,daiQuantity,duration} pair.
I am currently looking at https://github.com/NexusMutual/smart-contracts/blob/master/contracts/ but I am a bit lost and don’t really know where to start.

What contract methods/API (or formula) should I look at if I wanted to get a quote estimate for a given amount and contract to cover ? (ex: Getting the price to cover 1000 DAI on Curve for 60 days on real time).

Any docs I should be looking at ?

Thank you.

Hey,

Please check the docs here: https://drive.google.com/file/d/1_dgi3Vms5s64lUiPXLgACYMxI3rb7wOx/view?usp=sharing.

Feel free to email me on [email protected] for an API key.

Thanks!