-
Notifications
You must be signed in to change notification settings - Fork 9
Examples: Announces a transaction
Eleazar Garrido edited this page Oct 5, 2018
·
17 revisions
Transactions are actions taken on the blockchain that change its state.
Once a transaction is initiated, it is still unconfirmed and thus not yet accepted by the network. At this point, it is not clear if it will get included in a block. Never rely on a transaction which has the state unconfirmed.
- Transfer transaction is used to send assets between two accounts. It can hold a message of length 1024.
- Register namespace transaction is used to create and re-rental a namespace or subnamespace.
Mosaic definition transaction is used to create a new mosaic.
-
Name
- Name of the mosaic, up to a size limit of 64 characters; must be unique under the domain name.
-
Namespace name
- To be able to create a mosaic definition, an account must rent at least one root namespace which the mosaic definition can then refer to.
-
Mosaic properties
- divisibility: Determines up to what decimal place the mosaic can be divided. Divisibility of 3 means that a mosaic can be divided into smallest parts of 0.001 mosaics. The divisibility must be in the range of 0 and 6.
- duration: The number of confirmed blocks we would like to rent our namespace for. Should be inferior or equal to namespace duration.
- supply: The amount of mosaic in circulation. The creator can specify an initial supply of mosaics when creating the definition. The initial supply must be in the range of 0 and 9,000,000,000.
- supply mutable: The creator can choose between a definition that allows a mosaic supply change at a later point or a immutable supply. In the first case the creator is only allowed to decrease the supply within the limits of mosaics owned.
- transferability: The creator can choose if the mosaic can be transferred to and from arbitrary accounts, or only allowing itself to be the recipient once transferred for the first time.