Skip to content

Iroha Special Instructions

The current data model exposes these built-in instruction families:

InstructionVariants
RegisterBoxDomain, Account, AssetDefinition, Nft, Role, Trigger, RegisterPeerWithPop
UnregisterBoxPeer, Domain, Account, AssetDefinition, Nft, Role, Trigger
MintBoxnumeric Asset, trigger repetitions
BurnBoxnumeric Asset, trigger repetitions
TransferBoxDomain, AssetDefinition, numeric Asset, Nft
SetKeyValueBoxDomain, Account, AssetDefinition, Nft, Trigger metadata
RemoveKeyValueBoxDomain, Account, AssetDefinition, Nft, Trigger metadata
GrantBoxPermission (Grant<Permission, Account>), Role (Grant<RoleId, Account>), RolePermission (Grant<Permission, Role>)
RevokeBoxPermission (Revoke<Permission, Account>), Role (Revoke<RoleId, Account>), RolePermission (Revoke<Permission, Role>)
SetParameterchain parameter update
ExecuteTriggertrigger execution
Upgradeexecutor upgrade
Logexecutor log entry
CustomInstructionexecutor-specific JSON payload
Native asset escrowOpenAssetEscrow, AcceptAssetEscrow, MarkEscrowPaymentSent, ReleaseAssetEscrow, CancelAssetEscrow, OpenEscrowDispute, ResolveEscrowDispute
Generic asset locksOpenAssetLock, DrawdownAssetLock, CancelAssetLock, ExpireAssetLock
Anonymous asset escrowOpenAnonymousAssetEscrow, AcceptAnonymousAssetEscrow, MarkAnonymousEscrowPaymentSent, ReleaseAnonymousAssetEscrow, CancelAnonymousAssetEscrow, OpenAnonymousEscrowDispute, ResolveAnonymousEscrowDispute

Additional Iroha 3 modules may register domain-specific instruction types through the instruction registry. For the schema-level list generated from the current source tree, see Data Model Schema.

Diagram: Core Instruction Families