tokenActionBlock
This block is responsible in performing automatic actions on the token.
Properties
Block Property | Definition | Example Input | Status |
---|---|---|---|
tag | Unique name for the logic block. | tokenActionBlock | |
permissions | Which entity has rights to interact at this part of the workflow. | VVB | |
defaultActive | Shows whether this block is active at this time and whether it needs to be shown. | Checked or unchecked. | |
On errors | Called if the system error has occurs in the Block |
| |
Stop Propagation | End processing here, don't pass control to the next block. | Checked or unchecked. | |
Token | The token which is affected by the action | iREC token | |
Account Type | The type of the account under which the action is performed. If set to โDefaultโ the account of the currently logged in user is used (i.e. the owner of the document). If set to โCustomโ the account specified in the โaccountIdโ field is used. | Custom | |
Account Id (Field) | The value from this field is used as the ID of the account under which the action is performed when โAccount Typeโ is set to โCustomโ. | field0 | |
Action | Action to be performed on Token |
|
Note:
Only fields of โHedera Accountโ type can be used for โaccountIdโ.
If the field specified in the โaccountIdโ is not found in the current document then the system will look for it in the parent documents.
โAssociateโ and โDissociateโ actions are not available when โAccount Typeโ is set to โCustomโ. For these operations โtokenConfirmationBlockโ should be used instead.
Actions
Action Name | Purpose |
---|---|
Associate | Links the account with the token. This operation is required to enable the account to perform transactions (including receiving) with the token. |
Dissociate | Removes the aforementioned โlinkโ. |
Freeze | Freezes the account |
Unfreeze | Unfreezes the account |
Grant KYC | This action is mandatory if the token is configured to require KYC. The owner of the token is required to โgrant KYCโ to enable transactions with the account. |
Revoke KYC | This revokes the accountโs permission to participate in transactions with the token. |
Last updated