You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

This hash variable plugin can be used to retrieve on-chain Hedera account information based on attributes selected.

NameDescription
Prefixhedera
Description

To retrieve account details based on the Account ID.

Attributes
  • #hedera.account[ACCOUNT_ID].VALUE#
  • #hedera.account[ACCOUNT_ID].tokenBalance[TOKEN_ID]# //Only if VALUE is tokenBalance

Attributes retrieved are based on Hedera's Accounts REST API.

See here for more info about Hedera Account Properties.

Scope of Use
Sample Attributes

To display the account's HBAR Balance:

  • #hedera.account[0.0.5712154].hbarBalance#

To display the account's HBAR Balance with nested hash:

  • #hedera.account[{form.hedera_account_user.id}].hbarBalance#

To display a specific token Balance:

  • #hedera.account[0.0.5712154].tokenBalance[0.0.5713458]# //Existing Token ID


  • No labels