Translations: ERC20 to Ignis/24/en

From ArdorDocs
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".