Worbli History API with date ranges

in #worbli5 years ago

Worbli-ElasticSearch-History-Dates.png

EOS Tribe have built Elasticsearch cluster for Worbli blockchain to provide History API with additional options like date ranges previously implemented for EOS.
See our earlier related post: https://steemit.com/eos/@eostribe/eos-history-api-with-date-ranges

New History API is available on api.worbli.eostribe.io endpoint.:

1. Get transaction endpoint example call:

curl -d '{"id": "c55980dfb41e5f2072ba370feb23804d896e59465179b078fe82c68621f60418"}' -X POST https://api.worbli.eostribe.io/v1/history/get_transaction

2. Actions in the last # of days for given account name:

curl -d '{"account_name":"eosio", "last_days": 7}' -X POST https://api.worbli.eostribe.io/v1/history/get_actions

3. Actions in the given date range by UTC start and end times:

curl -d '{"account_name":"eosio", "from_date": 1541545834, "to_date": 1541545837}' -X POST https://api.worbli.eostribe.io/v1/history/get_actions

We are working on providing additional API endpoints.

While Worbli have not yet reached scalability issues with native History API, we would like to be ready and have a solution when those issues arise. Additionally API based on Elasticsearch can support higher number of concurrent requests.

You can see more info on hardware specs and Data Center we use in our original post:
https://steemit.com/eos/@eostribe/eos-tribe-infrastructure-upgrade


Connect with us! We're building a better future on EOSIO.

Website | Medium | Github | Telegram | SteemIt | Twitter | Discord


Sort:  

I just resteemed your post!

Why? @eosbpnews aggregates updates of active EOS BPs and conveniently serves them in one place!


This service is provided by @eosoceania. If you think we are doing useful work, consider supporting us with a vote :)
For any inquiries/issues please reach out on Telegram or Discord.

Coin Marketplace

STEEM 0.32
TRX 0.11
JST 0.034
BTC 66654.57
ETH 3250.95
USDT 1.00
SBD 4.33