Translations:ERC20 to Ignis/24/en

From ArdorDocs
Revision as of 14:35, 18 June 2019 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Trigger the ERC20 events

Events such as transfer and approve can be triggered by using the getBlock API, iterate over the transactions included in the block and look for asset transfer transactions for a given asset (transaction type 2 subType 1). Care should be taken to notify only on phased transactions with the attribute "approved".