mintDocumentBlock

This block is responsible for adding configurations on calculating the amount of tokens to be minted.

Properties

Block PropertyDefinitionExample InputStatus

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.

UI Properties

UI PropertyDefinitionExample 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’.

  • 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

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 updated