Telos History API on Elasticsearch cluster

in #telos6 years ago

Telos-ElasticSearch-History-Dates.png

EOS Tribe have synchronized Telos Blockchain History to our Elasticsearch cluster, and now provides History API with additional options of data ranges based on technology implemented for EOS Blockchain.

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

1. Get transaction endpoint example call:

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

2.Get actions endpoint:

All actions on account:

curl -d '{"account_name":"eostribeprod"}' -X POST http://api.telos.eostribe.io/v1/history/get_actions

Actions for account in last # of days:

curl -d '{"account_name":"eostribeprod", "last_days": 17}' -X POST http://api.telos.eostribe.io/v1/history/get_actions

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

curl -d '{"account_name":"eostribeprod", "from_date": 1545591574, "to_date": 1548110036}' -X POST http://api.telos.eostribe.io/v1/history/get_actions

3. Get account by key:

curl -d '{"public_key":"EOS8LuzMKzRKgD1fjEWFgEe73Pcp1uteezQBeqyKSrqovEekTbiRD"}' -X POST https://api.telos.eostribe.io/v1/history/get_key_accounts

We are working on providing additional API endpoints.


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.19
TRX 0.15
JST 0.029
BTC 63162.99
ETH 2567.19
USDT 1.00
SBD 2.82