mintDocumentBlock
Last updated
Last updated
This block is responsible for adding configurations on calculating the amount of tokens to be minted.
Block Property | Definition | Example Input | Status |
---|---|---|---|
UI Property | Definition | Example Input |
---|---|---|
Notes:
Only fields of โHedera Accountโ type can be used for โaccountIdโ.
If the field specified in the โaccountIdโ not found in the current document the system will look for it in the parent documents.
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
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
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โ.
Custom Account Field
Custom Account Value
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