Note
The catbuffer schemas repository defines how each transaction type should be serialized. In combination with the catbuffer-generators project, developers can generate builder classes for a given set of programming languages.
Announce an AccountMetadataTransaction to associate a key-value state to an account.
Version: 0x01
EntityType: 0x4144
Inlines:
Property | Type | Description |
---|---|---|
targetAddress | UnresolvedAddress | Metadata target address. |
scopedMetadataKey | uint64 | Metadata key scoped to source, target and type. |
valueSizeDelta | int16 | Change in value size in bytes. |
valueSize | uint16 | Value size in bytes. |
value | array(byte, valueSize) | Difference between the previous value and new value. You can calculate value as xor(previous-value, new-value) . If there is no previous value, use directly the new value. |
Announce a MosaicMetadataTransaction to associate a key-value state to a mosaic.
Version: 0x01
EntityType: 0x4244
Inlines:
Property | Type | Description |
---|---|---|
targetAddress | UnresolvedAddress | Metadata target address. |
scopedMetadataKey | uint64 | Metadata key scoped to source, target and type. |
targetMosaicId | UnresolvedMosaicId | Target mosaic identifier. |
valueSizeDelta | int16 | Change in value size in bytes. |
valueSize | uint16 | New value size in bytes. |
value | array(byte, valueSize) | Difference between the previous value and new value. You can calculate value as xor(previous-value, new-value) . If there is no previous value, use directly the new value. |
Announce a NamespaceMetadataTransaction to associate a key-value state to a namespace.
Version: 0x01
EntityType: 0x4344
Inlines:
Property | Type | Description |
---|---|---|
targetAddress | UnresolvedAddress | Metadata target address. |
scopedMetadataKey | uint64 | Metadata key scoped to source, target and type. |
targetNamespaceId | NamespaceId | Target namespace identifier. |
valueSizeDelta | int16 | Change in value size in bytes. |
valueSize | uint16 | New value size in bytes. |
value | array(byte, valueSize) | Difference between the previous value and new value. You can calculate value as xor(previous-value, new-value) . If there is no previous value, use directly the new value. |
Did you find what you were looking for? Give us your feedback.