eos icon indicating copy to clipboard operation
eos copied to clipboard

event system to notify 3rd party service

Open alzozov opened this issue 6 years ago • 8 comments

After contract action executed by user (from browser eosjs) I need to notify nodejs app that this event occurred.

How to do this ?

@heifner

alzozov avatar Jun 10 '18 12:06 alzozov

I have a same question, is there any way to notify the action occurred.

featheryus avatar Jun 19 '18 16:06 featheryus

There's no direct way to do it within the current version. However, you can make a plugin to capture all the blocks & transactions then notify 3rd party service. Or, alternatively, call "get table" from time to time.

taokayan avatar Jun 26 '18 02:06 taokayan

@taokayan In below ticket, @bytemaster said this feature will be added in Version 1.0 https://github.com/EOSIO/eos/issues/1640 Do we still have such plan? Thanks.

featheryus avatar Jun 26 '18 03:06 featheryus

So if I want to see if bets are happening every block, instead of a simple event watcher I need to setInterval( get table )? If we all start doing this it's not going to be great for BP endpoints. Hopefully events get implemented soon.

eosbet-io avatar Aug 02 '18 07:08 eosbet-io

Hey, any news about this feature?

PutPixel avatar Nov 21 '18 09:11 PutPixel

Hello you guys, Does any update?

Onotoko avatar Jun 06 '19 12:06 Onotoko

If you're running your own node, you can create a server that connects to the state-history plugin and watches for the events you need.

tbfleming avatar Jun 06 '19 13:06 tbfleming

Is there any update on this?

taaha827 avatar Jun 30 '21 05:06 taaha827