シリアライズ⚓︎
基本型⚓︎
モザイクの数量を絶対単位で表します。正の値または 0 だけを指定できます。
ブロックチェーン上のブロックのインデックスです。最初のブロック(ネメシスブロック)の高さは 1 で、その後の各ブロックで 1 ずつ増えます。
ネメシスブロックの作成から経過した秒数です。
アドレスはアカウントを識別し、その PublicKey から導出されます。40 バイトは Base32 エンコード形式に対応します。
32 バイト(256 ビット)のハッシュです。使用箇所によって変更される可能性があるため、正確なアルゴリズムは指定されていません。
秘密鍵から導出される 32 バイト(256 ビット)の整数です。キーペアの公開識別子として広く配布でき、対応する秘密鍵でエンティティが署名したことを証明するために使われます。
署名済みデータが変更されていないことを証明する 64 バイト(512 ビット)の配列です。NEM は Keccak-512 ハッシュ関数を使う Ed25519 署名を使用します。
列挙型⚓︎
|
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
構造体⚓︎
|
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