Hi. A lot of questions already ont he forum.
So want to make clear about prices an rate limit cost
I’m confused what are Base price and rate limit cost
Very blurry description of those 2 variables
I have pro plan and on it was 60. Now 150 units per second
I’ve made counter of CU in my application.
Each second I calculate up to 60 CU units for example.
Still, I made system that restricts using more then 60, BUT sdk, still throwing errors 429. Unclear for me. Or I setuped uncorrectly limits. But even I fetch costs from sdk EvmApi utils
Ho to calculate correctly CU per requests? Calculate by price? Price is CU per requests if I got correctly. But what is then Rate Limit cost? Is it also CU? But then by what to calculate, by Price or by Rate Limit cost? Or combined. Documantation is very blurry to understand this
What is the term second on Moralis SDK? Second can be by UNIX like 1st second of minute or 2nd second of minute, 3rd, 4,5,6,7 and etc
Or are limits recorded by when API request was sent?
I mean by UNIX you can start request in 1st second 200 milliseconds, then should I calculate limits in window between:
a) 1st to 2nd second
b) 1st + 200 millisecoinds to 2nd + 200 milliseconds?