Closed mixplore closed 4 months ago
ideally make the parameter optional and default its value to 0, so it stays backward compatible for others using the endpoint
Yes, we already discussed those details on the previous request for the premiums value (which is similar, adding the commission to premium), this should come as a follow-up on that change.
Currently on the quote endpoint, besides premium and pool allocation requests, we get the
annualPrice
value. This value doesn't take into consideration the cover commission (specific to each product, can be passed as query param when calling the endpoint). TheannualPrice
value should include the commission.Blocking https://github.com/NexusMutual/frontend-next/issues/93