a new history tool for Steem Smart Contracts in test

Hi there,

When we started the Steem-Engine project we needed a tool to display a basic history for the accounts because the Steem Smart Contracts software doesn't retain old data, it's basically a state that changes every time a new transaction is processed so I developed in minutes a NodeJS app that only gathered basic information, transfer and issue operations... We lately received more and more messages saying that the history tool doesn't provide enough information so I worked on a new version that provides way more details!

This new version is in test for now and is available at https://history.steem-engine.com/accountHistory

The parameters available are:
account: a STEEM account (required)
symbol: a Steem-Engine token symbol (optional)
timestampStart: a unix timestamp that represents the start of the dataset (optional)
timestampEnd: a unix timestamp that represents the end of the dataset (optional)
limit: number of records for the dataset (max is 500) (optional)
offset: offset for the dataset (required to browse a dataset that is bigger than 500 records) (optional)

Examples:

https://history.steem-engine.com/accountHistory?account=steemsc
https://history.steem-engine.com/accountHistory?account=steemsc&symbol=ENG
https://history.steem-engine.com/accountHistory?account=steemsc&symbol=ENG&timestampStart=1554085536&timestampEnd=1564748055
https://history.steem-engine.com/accountHistory?account=steemsc&symbol=ENG&timestampStart=1554085536&timestampEnd=1564748055&limit=1&offset=1

The different operations available in the history:

Tokens contract:

tokens_create: a token was create
tokens_issue: tokens were issued
tokens_transfer: tokens were transfered between accounts
tokens_transferToContract: tokens were transfered from an account to a contract
tokens_transferFromContract: tokens were transfered from a contract to an account
tokens_updatePrecision: the precision of a token was updated
tokens_updateUrl: the url of a token was updated
tokens_updateMetadata: the metadata of a token was updated
tokens_transferOwnership: the ownership of a token was transfered
tokens_enableStaking: staking was enabled for a token
tokens_enableDelegation: delegation was enabled for a token
tokens_stake: tokens were staked
tokens_unstakeStart: an unstake was started
tokens_cancelUnstake: an unstake was canceled
tokens_unstake: tokens were unstaked
tokens_delegate: tokens were delegated
tokens_undelegateStart: an undelegation was started
tokens_undelegateDone: an undelegation was completed

Market contract:

market_cancel: an order was canceled
market_placeOrder: an order was placed
market_expire: an order expired
market_buy: tokens were bought
market_sell: tokens were sold
market_close: an order was closed

I'm working on adding a market history as well that will return the daily metrics per symbol (from the start of the sidechain)

The new source code is available at https://github.com/harpagon210/ssc_tokens_history/tree/v2

(the history is being built right now so don't worry if you don't see the latest data there)

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center