Links

TEOS API overview

The TEOS API is the primary way for apps to read and write to the blockchain. All our platform components interact with the TEOS API in some way.

The Basics

The TEOS API is named after CoreLedger's main product TEOS (Token Economy Operational System). It's composed of:
  • REST Endpoint, built in accordance with OData 4.01 Standard (with some limitations)
  • Notification Endpoint, based on Rabbit MQ library
If you're going to use TEOS Authentication services, you will need to use following additional APIs of TEOS Platform:
  • TEOS Authentication service, implementing OAuth 2.0 protocol, and Tenant Management Service for retrieving user data and singing up new users. TEOS Authentication service should be used only if TEOS API is used with the user access token. Read more in Tenant setup options, Authentication and Using additional APIs of TEOS Platform​
  • TxServer, responsible for blockchain transactions processing and authorizing devices of end users. TxServer should be called directly only if TEOS API is used with the user access token. Read more in Tenant setup options​
For the case when TEOS API is called with the API key, integration with TEOS API REST endpoint itself and Notification Endpoint is necessary

How TEOS API can be used

Test scripts, made for postman, can be found in the TEOS API Github Repository. Contact CoreLedger support if you don't have access to it.