The One API to Rule Them

in eos •  2 months ago

TheOneAPI-ToRuleThem-banner.jpg

EOS Tribe have now synced 3 sister chains (Worbli, BOS, Telos) of EOS in it's Elasticsearch cluster and consolidated History API into One which queries each chain data based on domain used.

Domain endpoints by chain:

EOS: https://api.eostribe.io/
BOS: https://api.bos.eostribe.io/
Telos: https://api.telos.eostribe.io/
Worbli: https://api.worbli.eostribe.io/

History API endpoints:

* POST /v1/history/find_actions - Search latest actions on chain by memo field

Body JSON params:
data - text to search for in memo fields of all actions [required]
last - 1m, 1h, 1d, 1w, 1M - period to search for in mins, hours, days, weeks, months.
from_date, to_date - params for date range: "2019-01-26" - "2019-01-27"
Example requests:
{"data":"BlockOne", "last":"2d"}
{"data":"BlockOne", "from_date": "2019-01-27" ,"to_date":"2019-01-27"}

* POST /v1/history/get_actions - Get last actions on given account

Body JSON params:
account_name - account name for the actions [required]
last - 1m, 1h, 1d, 1w, 1M - period to search for in mins, hours, days, weeks, months.
from_date, to_date - params for date range: "2019-01-26" - "2019-01-27" / 1547591574 - 1548110036
Example requests:
{"account_name":"eostribeprod", "last": 7d}
{"account_name":"bostribeprod", "from_date": 1547591574, "to_date": 1548110036}

* POST /v1/history/get_transaction - get transaction by transaction id

Body JSON params:
id - ID of the transaction on chain
Example request:
{"id": "698ebad84a68578ae246485885866cd135a5b2bb065b7c1c66c91da7d1a5ce1b"}

All standard /v1/chain/* endpoints are available at the same endpoints as well.

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


Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

This is very Awesome.. Nice Work!

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.

There's some nice work being done here. Block on!