Published: 04 Oct 2019 › Updated: 04 Oct 2019
Spectrum API running on Telos Testnet
EOS Tribe launched a beta version of it's web-socket streaming Spectrum API on Telos Testnet (https://www.telosfoundation.io/).
Telos Testnet Spectrum API web-socket endpoint: wss://testnet.telos.eostribe.io
This version currently supports subscriptions for get_actions events with the following sample message format:
{
"apikey":"test-api-key",
"event":"subscribe",
"type":"get_actions",
"data": {
"account":"eostribeprod",
“actions":[“transfer”,”buyram”]
}
}
Fields description:
- event - type of events, there are two variants: “subscribe” and “unsubscribe”. Required [String].
- type - type of endpoint. Required [String].
- data - Contents of this object depends on type argument. Required for get_actions.
- account - name of account. Required [String].
- actions - List of actions name. [Object]. If actions are not specified - all actions will be matched.
Sample client in Python 3.7:
import json
from websocket import create_connection
path="streaming"
url = "wss://testnet.telos.eostribe.io/"+path
actionsList = ["transfer","buyram"]
data = {"account":"eostribeprod"}
messageBody = {
"apikey":"test-api-key",
"event":"subscribe",
"type":"get_actions",
"data": data
}
ws = create_connection(url)
messageJson = json.dumps(messageBody)
ws.send(messageJson)
while True:
response = ws.recv()
print(response)
ws.close()
EOS Tribe is committed to continue work on creating innovative solutions for EOSIO.
More updates are coming soon..
Leave Spectrum API running on Telos Testnet to:
Read more #eosio 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
- EOS Tribe joins the WAX Network
- EOS Tribe + EOS USA launch Spectrumeos.io
- EOS Tribe + EOS USA are bringing Spectrum API + Full History API to EOS
- Spectrum API - NodeJS client code example
- Spectrum API - JS Client library with samples
- Spectrum API - Added get_table_rows endpoint
- Spectrum API running on Telos Mainnet
- Spectrum API - get_transaction endpoint available
- Spectrum API - Client JS samples
- Spectrum API running on Telos Testnet
- Spectrum API running on Telos Testnet
- Introducing Spectrum Streaming API for EOSIO
- My reflection on EOS history and current state
- New way to create EOS accounts without any upfront cost
- Easy New Account Creation Process for EOS, BOS, Telos and Meet.One
- KIBISIS Wallet adds support for Meet.One chain
- Kibisis Wallet Update - June 2019
- EOS Tribe open source swift-ecc library
- EOS Tribe announces partnership with StrongBlock
- Kibisis Wallet now available on App Store