Subscribe to Balance Changes
This action will subscribe to any balance changes and will trigger an event and a state that shows new wallet balance.
Setup
Only one parameter is needed, the address of the wallet you want to subscribe to.
Action - Unsubscribe from Balance Changes
After subscribing you can of course unsubscribe by running this action and stop receiving events about balance changes.
Event - Balance Changed
After subscribing, anytime the balance of given address changes, this event will be triggered.
State - New balance
This state shows the new changed balance of the given address.
Demo
Find a demo on the polkadot api page. See the workflow folder Subscribe balance
Last updated
Was this helpful?