steem icon indicating copy to clipboard operation
steem copied to clipboard

Feature request: transactions of custom_json by ID

Open tutkarz opened this issue 6 years ago • 4 comments

We already have tools to ask node for market history, blog posts et. but there is no way, as far as I know, to get recent custom_json transactions by id. If we want to have serious dApp development on steem then it is must-have. Currently, the only way to know what custom_json wast published is to buy hosting and scan networks all the time or download huge amounts of unnecessary data from previous blocks which is slow and inefficient. A better way would be to simply ask the node what transactions with given ID happened in the last hour, a day or something like this.

tutkarz avatar Oct 08 '19 15:10 tutkarz

The transaction status api allows querying of all recent transactions, including custom json.

mvandeberg avatar Oct 16 '19 18:10 mvandeberg

How about for specific transaction? Querying of all recent transactions could include unnecessary data too.

onozasi avatar Oct 16 '19 18:10 onozasi

The transaction status API accepts a transaction ID and returns the status of that transaction along with an included block number (if applicable).

mvandeberg avatar Oct 16 '19 19:10 mvandeberg

I was searching what your answer means and the only thing I found is this https://developers.steem.io/apidefinitions/#transaction_status_api.find_transaction and there is info that this is not working on mainnet or testnet. Not to mention, there are nowhere any examples of how to use this. For example there is no such api call in steem-js

Maybe you did not understand what I want to achieve. I need to create few decentralized applications that are cheap and easy to use. For example, I would create a simple open-source app on github that a group of players could download and run. It would be alliance/clan/guild manager for games, where players can keep track of what games they are playing and what accounts they have there so they can play together. It would store ranks etc. This app would post custom_jsons on steem blockchain and all users would have to read custom_jsons by ID of that app. There is no room for buying hosting, domains, maintain any services because it is overkill for such small app. And since we are playing steem games we would like to have also steem app that can manage guilds for games we play. Also if such app would become popular then games could simply use its data to read guild info from blockchain too and display in game.

If there would be a way to just get all custom_jsons by ID that all players submitted then such apps would be trivial to do and very cheap to run by communities. And since there are already api calls to get transaction history or market or post or votes I see no reason why there should not be custom_json one. That is easy to use.

Thanks for trying to help.

tutkarz avatar Oct 16 '19 21:10 tutkarz