These are chat archives for Nethereum/Nethereum

18th
Oct 2018
Grey007
@Grey007
Oct 18 2018 09:33

Hi,

Is there any tool to monitor accounts? Or subscribe to accounts transactions? E.g. Trigger an action when a transaction to an account has taken place.

is getting revamped to different types of monitoring
and storage adapters
Dave Whiffin
@Dave-Whiffin
Oct 18 2018 09:36

@Grey007 Good timing! - I am just about to push a bunch of new stuff that will help you. There's also a sample app which monitors the chain for transactions matching specific accounts. As @juanfranblanco said - it will be in the blockchain storage app.

I am busy merging the changes now - I'll let you know when it's done - should be within the hour.

Juan Blanco
@juanfranblanco
Oct 18 2018 09:37
Dave is the man :)
Dave Whiffin
@Dave-Whiffin
Oct 18 2018 10:15
@Grey007 - BlockchainStorage has now been updated.
Checkout the project "Nethereum.BlockchainProcessing.InMemory.Console" for a sample which is similar to what you're wanting. If you have any questions just ask.
Grey007
@Grey007
Oct 18 2018 10:33
Awesome, thanks @Dave-Whiffin! Will shout if I need anything!
kirkilyduck
@kirkilyduck
Oct 18 2018 15:58
Hi, is there a way to get the current block number ?
Juan Blanco
@juanfranblanco
Oct 18 2018 16:00
web3.Eth.Blocks.BlockNumber.SendRequestAsync()