# Module Commands
# Asset Module Commands
| Command | Description |
|---|---|
| createassettable | Create a new asset table |
| createpermissionedassettable | Create a new permissioned asset table |
| generateasset | Generate an asset to a given table |
| getasset | Get an asset table entry |
| getassets | Get asset table's multiple entries |
| getassettable | List all entries in a given asset table |
| moveasset | Move assets from one address to another |
# Binary Module Commands
| Command | Description |
|---|---|
| addbinaryowner | Add data owner for a specific binary data entry |
| addbinaryvalue | Add an entry in a binary table |
| createbinarytable | Create a new binary table |
| createpermissionedbinarytable | Create a new permissioned binary table |
| deletebinaryvalue | Delete an entry in a binary table |
| getbinaryowners | Get data owners information of a binary table data entry |
| getbinarytable | List all entries in a given binary table |
| getbinaryvalue | Get a binary table entry in a given table |
| getbinaryvalues | Get multiple binary table entries in a given table |
| removebinaryowner | Remove existing data owner for a specific binary data entry |
| setbinaryvalue (deprecated) | Insert (if it does not exists), or update a binary table entry in a given table |
| updatebinaryvalue | Update an entry in a binary table |
# Entity Module Commands
| Command | Description |
|---|---|
| addentity | Add an entity to an entity table |
| addentityowner | Add data owner for a specific entity data entry |
| addentityparent | Add parent to an entity |
| createentitytable | Create an entity table |
| deleteentity | Delete an entity in a table |
| deleteentityparent | Delete parent from an entity |
| getentities | Get multiple entries from an entity table |
| getentity | Get an entity table entry |
| getentityowners | Get data owners information of an entity table data entry |
| getentitytable | List all entries in a given entity table |
| getentitytree | Retrieve a given entity and its children recursively |
| optimisticupdateentity | Compares an entity with its current value and if it matches, updates it with the new value |
| removeentityowner | Remove existing data owner for a specific entity data entry |
| updateentity | Update an entity in a table |
# NFT Module Commands
| Command | Description |
|---|---|
| createnfttable | Create a new NFT table |
| generatenft | Generate a token for an address in an NFT table |
| getnftbalanceof | Get the NFT balance of an address |
| getnftbalancesof | Get NFT balances of multiple addresses |
| getnftowner | Get the owner of an NFT |
| getnftowners | Get the owners of multiple NFTs |
| getnfttable | List all entries in a given NFT table |
| movenft | Move a token from one address to another |
# Private Data Module Commands
| Command | Description |
|---|---|
| addprivatedata | Add data to a private data table |
| addprivatedataowner | Add data owner for a specific private data entry |
| createprivatedatatable | Create private data table |
| deleteprivatedata | Delete data from a private data table |
| deleteprivatedatatable | Delete a private data table |
| getprivatedataowners | Get data owners information of a private data table entry |
| getprivatedatatable | Get all data entries from a given private data table |
| getprivatedatavalue | Get a single data entry from a given private data table |
| getprivatedatavalues | Get multiple data entries from a given private data table |
| removeprivatedataowner | Remove existing data owner for a specific private data entry |
| signprivatetransaction | Sign private transaction with PDO(s) secret key(s) |
| updateprivatedata | Update data in a private data table |
# Smart Contract Commands
| Command | Description |
|---|---|
| addcontractinstantiators | Add new contract instantiators for a deployed contract |
| compilecontract | Compile a contract |
| deletecontractinstance | Delete an instance of a deployed contract. Requires Instance Owners' signature(s) |
| deploycontract | Deploy contract to Miyabi |
| getassemblies | List all deployed assemblies |
| getassemblyid | Get the assembly id of a contract |
| getcontractaddress | Get the address of a specific contract instance |
| getcontractanalyzerparameters | List all parameters for the smart contract analyzer |
| getinstances | List all contract instances |
| initializecontract | Initialize the contract module in Miyabi |
| instantiatecontract | Create an instance of a deployed contract |
| invokecontract | Invoke a method of a contract instance |
| querycontract | Query an active contract instance of a deployed contract by invoking a read-only method |
| removecontractinstantiators | Remove existing contract instantiators for a deployed contract |
| updatecontractanalyzer | Update the contract analyzer |
| updatecontractdebugflag | Enable or disable the contract debugging |
| updatecontractpermission | Grant or revoke contract permission(s) for address(es) |
