EOS Tribe avatar

The One API to Rule Them

eostribe

Published: 02 Feb 2019 › Updated: 02 Feb 2019The One API to Rule Them

The One API to Rule Them

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 [DISCONTINUED]

* 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


Leave The One API to Rule Them to:

Written by

Be as you are.

Read more #eos posts


Best Posts From EOS Tribe

We have not curated any of eostribe's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From EOS Tribe