|
|
|
Show HN: I’m building an uniform blockchain API service
(stocra.com)
|
|
1 points
by vokracko
1305 days ago
|
|
I have to interact with a lot of blockchains in my work and it is really painful. They have different structures, different endpoints, return a lot of noise (transactions that are not value transfers) and existing API services are PITA as well. So I built my own service in hopes it will make someone's life a little bit easier, I learn something new and if that doesn’t work out I’ll have a bunch of code to show when looking for another job in the future. My primary goal was to make the API uniform, regardless how the data look like on the underlying blockchain. I haven’t seen that in any APIs we use. They give you uniform endpoints, somewhat similar data structures but they are never uniform and you have to write blockchain-specific code to get the information you look for. I understand that they might want to return data for all transactions - and you can’t do that reasonably well for all blockchains in uniform format. But I think they do not understand what their customers care about - the value transfers, not a bunch of misc transactions. Another thing that bothered me in existing API services - they don’t let you interact with their API through your browser. You can’t have a quick glance at how responses look like. First you have to sign up, then get a token and finally either POST to the endpoint or include an api key in request headers. That’s why I built the simple preview box on the front page to let users see the responses immediately. Additionally, Stocra api keys can be passed in the query string or in the headers. Let me know your thoughts! |
|