node-nano-node
node-nano-node copied to clipboard
Detecting amount sent
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
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.