Hello !
We are migrating from TRKD to RDP, I would like to use the "/data/pricing/snapshots-resolve/v1/chains/{ChainRic} " API to decrypt and access chains data.
I'd like some recommendations on how I should implement calls to this API.
My use case is to decrypt and pull all the data from the chains.
I've been advised to use the POST+ GET methods to first load a cache and then make calls to pull the data.
So I'm wondering how I can implement the chain decryption solution in such a way as to get the best possible performance, with the freshest possible data, So I have several questions.
- When should I call the POST ? How long is the cache ?
- After how long should I update it recalling the POST method ?
- I've seen that I can provide a page-size parameter when calling the GET method, with a default value of 10 and a maximum value of 100. Is it a good idea to make calls with a page-size of 100?
This way we limit the number of calls. By setting the page-size parameter to 100, I've noticed that the response is still quite fast, given that there's a cache system.
- If you have a diagram or anything that describes the best way to use this service, please let me know.
Thank you for all your help !