- All transaction names follow python style more and require '_transaction_v1' suffix, so for example:
REMOVED: 'type': 'accountAddressRestriction'
NEW: 'type': 'account_address_restriction_transaction_v1'
- Bit of syntactic sugar, that was valid earlier is no longer supported, example:
REMOVED:
'type': 'transfer',
'signer_public_key': 'TEST',
'fee': 1000000,
'deadline': 41998024783,
'recipient_address': 'TD4PJKW5JP3CNHA47VDFIM25RCWTWRGT45HMPSA',
'mosaics': [(0x2CF403E85507F39E, 1000000)]
NEW:
'type': 'transfer_transaction_v1',
'signer_public_key': 'TEST',
'fee': 1000000,
'deadline': 41998024783,
'recipient_address': 'TD4PJKW5JP3CNHA47VDFIM25RCWTWRGT45HMPSA',
'mosaics': [
{'mosaic_id': 0x2CF403E85507F39E, 'amount': 1000000}
]- Signature should always be attached via transaction factory, sample:
signature = facade.sign_transaction(key_pair, transaction)
facade.transaction_factory.attach_signature(transaction, signature)- NEM transaction names are conforming to the schemas. This only affects 'importance-transfer' that was available earlier, it is now available as 'account_key_link_transaction_v1'
REMOVED:
{
'type': 'importance-transfer',
'mode': 1,
'remote_account_public_key': PublicKey('BE0B4CF546B7B4F4BBFCFF9F574FDA527C07A53D3FC76F8BB7DB746F8E8E0A9F')
}NEW:
{
'type': 'account_key_link_transaction_v1',
'link_action': 'link',
'remote_public_key': 'BE0B4CF546B7B4F4BBFCFF9F574FDA527C07A53D3FC76F8BB7DB746F8E8E0A9F'
}-
catbufferpython package has been completely deprecated, low-level structures are available under SDK'ssymbolchain.sc(symbol) andsymbolchain.nc(nem) modules. -
Structure of a module has been flattened, Dto suffix has been removed:
REMOVED
from symbol_catbuffer.NetworkTypeDto import NetworkTypeDto
...
NetworkTypeDto.PUBLIC_TEST
NEW
from symbolchain.sc import NetworkType
NetworkType.TESTNET- (due to change in catbuffer schemas) EntityType has been split to TransactionType and BlockType
REMOVED
EntityTypeDto.VRF_KEY_LINK_TRANSACTION
NEW
TransactionType.VRF_KEY_LINK
- Every transaction type has
TRANSACTION_VERSIONandTRANSACTION_TYPEproperties