Serialization⚓︎
Basic Types⚓︎
A quantity of mosaics in absolute units. It can only be positive or zero.
Index of a block in the blockchain. The first block (the Nemesis block) has height 1 and each subsequent block increases height by 1.
Number of seconds elapsed since the creation of the Nemesis block.
An address identifies an account and is derived from its PublicKey. The 40 bytes correspond to its Base32-encoded form.
A 32-byte (256 bit) hash. The exact algorithm is unspecified as it can change depending on where it is used.
A 32-byte (256 bit) integer derived from a private key. It serves as the public identifier of the key pair and can be disseminated widely. It is used to prove that an entity was signed with the paired private key.
A 64-byte (512 bit) array certifying that the signed data has not been modified. NEM uses Ed25519 signatures with the Keccak-512 hash function.
Enumerations⚓︎
|
MAINNETmain network
TESTNETtest network
|
TRANSFERtransfer transaction
ACCOUNT_KEY_LINKaccount key link trasaction alternatively called importance transfer transaction
MULTISIG_ACCOUNT_MODIFICATIONmultisig account modification transaction alternatively called multisig consignatory modification transaction
MULTISIG_COSIGNATUREmultisig cosignature transaction alternatively called multisig signature transaction
MULTISIGmultisig transaction
NAMESPACE_REGISTRATIONnamespace registration transaction alternatively called provision namespace transaction
MOSAIC_DEFINITIONmosaic definition transaction alternatively called mosaic definition creation transaction
MOSAIC_SUPPLY_CHANGEmosaic supply change transaction
|
LINKunlink account
UNLINKlink account
|
ABSOLUTEfee represents an absolute value
PERCENTILEfee is proportional to a percentile of the transferred mosaic
|
INCREASEincreases the supply
DECREASEdecreases the supply
|
ADD_COSIGNATORYadd a new cosignatory
DELETE_COSIGNATORYdelete an existing cosignatory
|
PLAINplain message
ENCRYPTEDencrypted message
|
NEMESISnemesis block
NORMALnormal block
Structures⚓︎
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
feetransaction fee
deadlinetransaction deadline
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
feetransaction fee
deadlinetransaction deadline
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEACCOUNT_KEY_LINK (0x801)link_actionlink action
remote_public_key_size32remote account public key size
remote_public_keypublic key of remote account to which importance should be transferred
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEACCOUNT_KEY_LINK (0x801)link_actionlink action
remote_public_key_size32remote account public key size
remote_public_keypublic key of remote account to which importance should be transferred
|
name_sizename size
namename
|
|
|
|
transfer_fee_typemosaic fee type
recipient_address_size40recipient address size
recipient_addressrecipient address
mosaic_id_sizelevy mosaic id size
mosaic_idlevy mosaic id
feeamount of levy mosaic to transfer
|
name_sizeproperty name size
nameproperty name
value_sizeproperty value size
valueproperty value
|
|
owner_public_key_size32owner public key size
owner_public_keyowner public key
id_sizemosaic id size
idmosaic id referenced by this definition
description_sizedescription size
descriptiondescription
properties_countnumber of properties
propertiesproperties
levy_sizesize of the serialized levy
levyoptional levy that is applied to transfers of this mosaic
This field is only present if:levy_size not equals 0
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEMOSAIC_DEFINITION (0x4001)mosaic_definition_sizemosaic definition size
mosaic_definitionmosaic definition
rental_fee_sink_size40mosaic rental fee sink public key size
rental_fee_sinkmosaic rental fee sink public key
rental_feemosaic rental fee
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEMOSAIC_DEFINITION (0x4001)mosaic_definition_sizemosaic definition size
mosaic_definitionmosaic definition
rental_fee_sink_size40mosaic rental fee sink public key size
rental_fee_sinkmosaic rental fee sink public key
rental_feemosaic rental fee
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEMOSAIC_SUPPLY_CHANGE (0x4002)mosaic_id_sizemosaic id size
mosaic_idmosaic id
actionsupply change action
deltachange amount
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEMOSAIC_SUPPLY_CHANGE (0x4002)mosaic_id_sizemosaic id size
mosaic_idmosaic id
actionsupply change action
deltachange amount
|
modification_typemodification type
cosignatory_public_key_size32cosignatory public key size
cosignatory_public_keycosignatory public key
|
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEMULTISIG_ACCOUNT_MODIFICATION (0x1001)modifications_countnumber of modifications
modificationsmultisig account modifications
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEMULTISIG_ACCOUNT_MODIFICATION (0x1001)modifications_countnumber of modifications
modificationsmultisig account modifications
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION2TRANSACTION_TYPEMULTISIG_ACCOUNT_MODIFICATION (0x1001)modifications_countnumber of modifications
modificationsmultisig account modifications
min_approval_delta_size4the size of the min_approval_delta
min_approval_deltarelative change of the minimal number of cosignatories required when approving a transaction
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION2TRANSACTION_TYPEMULTISIG_ACCOUNT_MODIFICATION (0x1001)modifications_countnumber of modifications
modificationsmultisig account modifications
min_approval_delta_size4the size of the min_approval_delta
min_approval_deltarelative change of the minimal number of cosignatories required when approving a transaction
|
TRANSACTION_VERSION1TRANSACTION_TYPEMULTISIG_COSIGNATURE (0x1002)other_​transaction_​hash_​outer_​size36other transaction hash outer size
other_transaction_hash_size32other transaction hash size
other_transaction_hashother transaction hash
multisig_account_address_size40multisig account address size
multisig_account_addressmultisig account address
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEMULTISIG_COSIGNATURE (0x1002)other_​transaction_​hash_​outer_​size36other transaction hash outer size
other_transaction_hash_size32other transaction hash size
other_transaction_hashother transaction hash
multisig_account_address_size40multisig account address size
multisig_account_addressmultisig account address
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEMULTISIG_COSIGNATURE (0x1002)other_​transaction_​hash_​outer_​size36other transaction hash outer size
other_transaction_hash_size32other transaction hash size
other_transaction_hashother transaction hash
multisig_account_address_size40multisig account address size
multisig_account_addressmultisig account address
|
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEMULTISIG (0x1004)inner_transaction_sizeinner transaction size
inner_transactioninner transaction
cosignatures_countnumber of attached cosignatures
cosignaturescosignatures
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPEMULTISIG (0x1004)inner_transaction_sizeinner transaction size
inner_transactioninner transaction
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPENAMESPACE_REGISTRATION (0x2001)rental_fee_sink_size40mosaic rental fee sink public key size
rental_fee_sinkmosaic rental fee sink public key
rental_feemosaic rental fee
name_sizenew namespace name size
namenew namespace name
parent_name_sizesize of the parent namespace name
parent_nameparent namespace name
This field is only present if:parent_name_size not equals 4294967295
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPENAMESPACE_REGISTRATION (0x2001)rental_fee_sink_size40mosaic rental fee sink public key size
rental_fee_sinkmosaic rental fee sink public key
rental_feemosaic rental fee
name_sizenew namespace name size
namenew namespace name
parent_name_sizesize of the parent namespace name
parent_nameparent namespace name
This field is only present if:parent_name_size not equals 4294967295
|
message_typemessage type
message_sizemessage size
messagemessage payload
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPETRANSFER (0x101)recipient_address_size40recipient address size
recipient_addressrecipient address
amountXEM amount
message_envelope_sizemessage envelope size
messageoptional message
This field is only present if:message_envelope_size not equals 0
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION1TRANSACTION_TYPETRANSFER (0x101)recipient_address_size40recipient address size
recipient_addressrecipient address
amountXEM amount
message_envelope_sizemessage envelope size
messageoptional message
This field is only present if:message_envelope_size not equals 0
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION2TRANSACTION_TYPETRANSFER (0x101)recipient_address_size40recipient address size
recipient_addressrecipient address
amountXEM amount
message_envelope_sizemessage envelope size
messageoptional message
This field is only present if:message_envelope_size not equals 0mosaics_countnumber of attached mosaics
mosaicsattached mosaics notice that mosaic amount is multipled by transfer amount to get effective amount
|
typetransaction type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
feetransaction fee
deadlinetransaction deadline
TRANSACTION_VERSION2TRANSACTION_TYPETRANSFER (0x101)recipient_address_size40recipient address size
recipient_addressrecipient address
amountXEM amount
message_envelope_sizemessage envelope size
messageoptional message
This field is only present if:message_envelope_size not equals 0mosaics_countnumber of attached mosaics
mosaicsattached mosaics notice that mosaic amount is multipled by transfer amount to get effective amount
|
typeblock type
versionentity version
entity_body_reserved_10reserved padding between version and network type
networkentity network
timestampentity timestamp
signer_public_key_size32entity signer public key size
signer_public_keyentity signer public key
signature_size64entity signature size
signatureentity signature
previous_block_hash_outer_size36previous block hash outer size
previous_block_hash_size32previous_block_hashheightblock height
transactions_counttransactions count
transactionstransactions