tokenConfirmationBlock
This block enables the owner of the private key for the account to manually perform operations with the token, including those not available in the βtokenActionBlockβ.
1. Properties
Block Property | Definition | Example Input | Status |
---|---|---|---|
tag | Unique name for the logic block. | tokenConfirmationBlock | |
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 |
| |
Use Template | This needs to be enabled if we need to use token template, which is created already. | Enabled/Disabled | |
Token Template | Which will take created tokenId from input document by template name | token_template___0 |
Notes:
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.
Users can skip the action by selecting βI will Action manuallyβ option in the UI. This would require the user to perform the corresponding action off-Guardian platform (directly on Hedera chain).
2. Performing Token Associate using Guardian UI
The user need to input the private key for the account to enable Guardian to perform the action. The key is used once for the operation specified, it is not saved and not logged anywhere.
Note: Users can skip the action in UI if they prefer to perform it outside Guardian (directly with Hedera blockchain).
API Parameters
GET
/policies/{policyId}/blocks/{uuid}
Path Parameters
Name | Type | Description |
---|---|---|
policyId* | String | Policy ID |
uuid* | String | Block UUID |
POST
/policies/{policyId}/blocks/{uuid}
Path Parameters
Name | Type | Description |
---|---|---|
policyId* | String | Policy Id |
uuid* | String | Block UUID |
Request Body
Name | Type | Description |
---|---|---|
action* | String | action |
hederaAccountKey* | String | Hedera Account Private Key |
Last updated