Comment on page
mintDocumentBlock
This block is responsible for adding configurations on calculating the amount of tokens to be minted.
Block Property | Definition | Example Input | Status |
---|---|---|---|
tag | Unique name for the logic block. | mintDocumentBlock | |
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. | |
UI Property | Definition | Example Input |
---|---|---|
Token | The token which is affected by the action | GHG Token |
Account Type | 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 Account Field’. |
|
Rule | Math expression for calculation of the amount of tokens to mint. | field7 * 100 |
Account Id (Field) | The value from this field is used as the ID of the account which is used for token transfer action when ‘Account Type’ is set to ‘Custom’. | field5 |
Account Id (Value) | Allow users to set custom Hedera account id directly in policy configuration (for token transferring). This field is displayed only when Custom Account Value type. | 0.0.48640912 |
Memo | The value in this filed is used to customize the Memo field name. | "mint date is $ {document.verifiableCredential[0],credentialSubject[0].field5}" |
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 |
%20(1).png?alt=media)
Notes:
- 1.Only fields of ‘Hedera Account’ type can be used for ‘accountId’.
- 2.If the field specified in the ‘accountId’ not found in the current document the system will look for it in the parent documents.
Last modified 1mo ago