Skip to content

Transactions Spec

Alexandr Lozovyuk edited this page Dec 13, 2018 · 3 revisions

Transactions Spec

For Testnet, we use simple, non-optimize transaction format.

  • JSON is a primary format of transaction body.
  • At next level, json coded as base64 to string.
  • First 3 ASCI symbol of transaction include trx type. Next all symbols - base64 encoded JSON data.
  • TBD for deterministic behavior, all non-integer numbers encode to INT, multiplicated it to 1000000000 (1B)

Transaction types

  • LOG - just write a body (after base64 decoding) to a stdout
  • CET - Cryptocurrenct Exchange Trades - source trades from crypto exchanges
  • FET - Finance Exchange Trades - reserves for tradition finance data
  • RAS - Register Assets Symbol, used for a register new assets at a network (e.g. new futures, indices or other)
  • DST - Data Source Task - new data source list to provide data at next interval
  • REF - New Reference Rate
  • IDX - New Index value
Clone this wiki locally