tokenActionBlock

This block is responsible in performing automatic actions on the token.

Properties

Block PropertyDefinitionExample InputStatus

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

  • No action

  • Retry

  • Go to step

  • Go to tag

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

  • Associate

  • Dissociate

  • Freeze

  • Unfreeze

  • Grant Kyc

  • Revoke Kyc

Note:

  1. Only fields of โ€˜Hedera Accountโ€™ type can be used for โ€˜accountIdโ€™.

  2. 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.

  3. โ€˜Associateโ€™ and โ€˜Dissociateโ€™ actions are not available when โ€˜Account Typeโ€™ is set to โ€˜Customโ€™. For these operations โ€˜tokenConfirmationBlockโ€™ should be used instead.

Actions

Action NamePurpose

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