node-nano-node icon indicating copy to clipboard operation
node-nano-node copied to clipboard

Detecting amount sent

Open rokanost opened this issue 7 years ago • 1 comments

Great project, However, I'm bit confused on how to detect the amount transferred when "send" block detected? It contains previous balance of the account but not the actual amount being sent. Maybe I'm missing out something..

Thanks

rokanost avatar Apr 11 '18 22:04 rokanost

Right now there's no way to know without a full database. It could be looked up from a full node or block explorer.

The protocol upgrade to state blocks goes live tomorrow though so it should be very soon that you'll just need to pull the previous block to determine the amount.

numtel avatar Apr 11 '18 22:04 numtel