symbolchain.nc package

Module contents

class symbolchain.nc.AccountKeyLinkTransactionV1

Bases: Transaction

TRANSACTION_TYPE: TransactionType = 2049
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'link_action': 'enum:LinkAction', 'network': 'enum:NetworkType', 'remote_public_key': 'pod:PublicKey', 'signature': 'pod:Signature', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) AccountKeyLinkTransactionV1
property remote_public_key: PublicKey
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.Address(address: StrBytes = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')

Bases: ByteArray

SIZE = 40
classmethod deserialize(payload: bytes | bytearray | memoryview) Address
serialize() bytes
property size: int
class symbolchain.nc.Amount(amount: int = 0)

Bases: BaseValue

SIZE = 8
classmethod deserialize(payload: bytes | bytearray | memoryview) Amount
serialize() bytes
class symbolchain.nc.CosignatureV1

Bases: Transaction

TRANSACTION_TYPE: TransactionType = 4098
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'multisig_account_address': 'pod:Address', 'network': 'enum:NetworkType', 'other_transaction_hash': 'pod:Hash256', 'signature': 'pod:Signature', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) CosignatureV1
property multisig_account_address: Address
property other_transaction_hash: Hash256
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.CosignatureV1Body

Bases: object

TRANSACTION_TYPE: TransactionType = 4098
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'multisig_account_address': 'pod:Address', 'other_transaction_hash': 'pod:Hash256'}
classmethod deserialize(payload: bytes | bytearray | memoryview) CosignatureV1Body
property multisig_account_address: Address
property other_transaction_hash: Hash256
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.Hash256(hash256: StrBytes = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')

Bases: ByteArray

SIZE = 32
classmethod deserialize(payload: bytes | bytearray | memoryview) Hash256
serialize() bytes
property size: int
class symbolchain.nc.Height(height: int = 0)

Bases: BaseValue

SIZE = 8
classmethod deserialize(payload: bytes | bytearray | memoryview) Height
serialize() bytes
class symbolchain.nc.LinkAction(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

classmethod deserialize(payload: bytes | bytearray | memoryview) LinkAction
serialize() bytes
property size: int
to_json()
class symbolchain.nc.Message

Bases: object

TYPE_HINTS = {'message': 'bytes_array', 'message_type': 'enum:MessageType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) Message
property message: bytes
property message_type: MessageType
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.MessageType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

ENCRYPTED = 2
PLAIN = 1
classmethod deserialize(payload: bytes | bytearray | memoryview) MessageType
serialize() bytes
property size: int
to_json()
class symbolchain.nc.Mosaic

Bases: object

TYPE_HINTS = {'amount': 'pod:Amount', 'mosaic_id': 'struct:MosaicId'}
property amount: Amount
classmethod deserialize(payload: bytes | bytearray | memoryview) Mosaic
property mosaic_id: MosaicId
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.MosaicDefinition

Bases: object

TYPE_HINTS = {'description': 'bytes_array', 'id': 'struct:MosaicId', 'levy': 'struct:MosaicLevy', 'owner_public_key': 'pod:PublicKey', 'properties': 'array[SizePrefixedMosaicProperty]'}
property description: bytes
classmethod deserialize(payload: bytes | bytearray | memoryview) MosaicDefinition
property id: MosaicId
property levy: MosaicLevy
property levy_size_computed: int
property owner_public_key: PublicKey
property properties: List[SizePrefixedMosaicProperty]
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.MosaicDefinitionTransactionV1

Bases: Transaction

TRANSACTION_TYPE: TransactionType = 16385
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'mosaic_definition': 'struct:MosaicDefinition', 'network': 'enum:NetworkType', 'rental_fee': 'pod:Amount', 'rental_fee_sink': 'pod:Address', 'signature': 'pod:Signature', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) MosaicDefinitionTransactionV1
property mosaic_definition: MosaicDefinition
property rental_fee: Amount
property rental_fee_sink: Address
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.MosaicId

Bases: object

TYPE_HINTS = {'name': 'bytes_array', 'namespace_id': 'struct:NamespaceId'}
classmethod deserialize(payload: bytes | bytearray | memoryview) MosaicId
property name: bytes
property namespace_id: NamespaceId
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.MosaicLevy

Bases: object

TYPE_HINTS = {'fee': 'pod:Amount', 'mosaic_id': 'struct:MosaicId', 'recipient_address': 'pod:Address', 'transfer_fee_type': 'enum:MosaicTransferFeeType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) MosaicLevy
property fee: Amount
property mosaic_id: MosaicId
property recipient_address: Address
serialize() bytes
property size: int
sort() None
to_json()
property transfer_fee_type: MosaicTransferFeeType
class symbolchain.nc.MosaicProperty

Bases: object

TYPE_HINTS = {'name': 'bytes_array', 'value': 'bytes_array'}
classmethod deserialize(payload: bytes | bytearray | memoryview) MosaicProperty
property name: bytes
serialize() bytes
property size: int
sort() None
to_json()
property value: bytes
class symbolchain.nc.MosaicSupplyChangeAction(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

DECREASE = 2
INCREASE = 1
classmethod deserialize(payload: bytes | bytearray | memoryview) MosaicSupplyChangeAction
serialize() bytes
property size: int
to_json()
class symbolchain.nc.MosaicSupplyChangeTransactionV1

Bases: Transaction

TRANSACTION_TYPE: TransactionType = 16386
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'action': 'enum:MosaicSupplyChangeAction', 'deadline': 'pod:Timestamp', 'delta': 'pod:Amount', 'fee': 'pod:Amount', 'mosaic_id': 'struct:MosaicId', 'network': 'enum:NetworkType', 'signature': 'pod:Signature', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
property action: MosaicSupplyChangeAction
property delta: Amount
classmethod deserialize(payload: bytes | bytearray | memoryview) MosaicSupplyChangeTransactionV1
property mosaic_id: MosaicId
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.MosaicTransferFeeType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

ABSOLUTE = 1
PERCENTILE = 2
classmethod deserialize(payload: bytes | bytearray | memoryview) MosaicTransferFeeType
serialize() bytes
property size: int
to_json()
class symbolchain.nc.MultisigAccountModification

Bases: object

TYPE_HINTS = {'cosignatory_public_key': 'pod:PublicKey', 'modification_type': 'enum:MultisigAccountModificationType'}
comparer() tuple
property cosignatory_public_key: PublicKey
classmethod deserialize(payload: bytes | bytearray | memoryview) MultisigAccountModification
property modification_type: MultisigAccountModificationType
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.MultisigAccountModificationTransactionV1

Bases: Transaction

TRANSACTION_TYPE: TransactionType = 4097
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'modifications': 'array[SizePrefixedMultisigAccountModification]', 'network': 'enum:NetworkType', 'signature': 'pod:Signature', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) MultisigAccountModificationTransactionV1
property modifications: List[SizePrefixedMultisigAccountModification]
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.MultisigAccountModificationTransactionV2

Bases: Transaction

TRANSACTION_TYPE: TransactionType = 4097
TRANSACTION_VERSION: int = 2
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'modifications': 'array[SizePrefixedMultisigAccountModification]', 'network': 'enum:NetworkType', 'signature': 'pod:Signature', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) MultisigAccountModificationTransactionV2
property min_approval_delta: int
property modifications: List[SizePrefixedMultisigAccountModification]
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.MultisigAccountModificationType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

ADD_COSIGNATORY = 1
DELETE_COSIGNATORY = 2
classmethod deserialize(payload: bytes | bytearray | memoryview) MultisigAccountModificationType
serialize() bytes
property size: int
to_json()
class symbolchain.nc.MultisigTransactionV1

Bases: Transaction

TRANSACTION_TYPE: TransactionType = 4100
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'cosignatures': 'array[SizePrefixedCosignatureV1]', 'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'inner_transaction': 'struct:NonVerifiableTransaction', 'network': 'enum:NetworkType', 'signature': 'pod:Signature', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
property cosignatures: List[SizePrefixedCosignatureV1]
classmethod deserialize(payload: bytes | bytearray | memoryview) MultisigTransactionV1
property inner_transaction: NonVerifiableTransaction
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NamespaceId

Bases: object

TYPE_HINTS = {'name': 'bytes_array'}
classmethod deserialize(payload: bytes | bytearray | memoryview) NamespaceId
property name: bytes
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NamespaceRegistrationTransactionV1

Bases: Transaction

TRANSACTION_TYPE: TransactionType = 8193
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'name': 'bytes_array', 'network': 'enum:NetworkType', 'parent_name': 'bytes_array', 'rental_fee': 'pod:Amount', 'rental_fee_sink': 'pod:Address', 'signature': 'pod:Signature', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) NamespaceRegistrationTransactionV1
property name: bytes
property parent_name: bytes
property rental_fee: Amount
property rental_fee_sink: Address
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NetworkType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

MAINNET = 104
TESTNET = 152
classmethod deserialize(payload: bytes | bytearray | memoryview) NetworkType
serialize() bytes
property size: int
to_json()
class symbolchain.nc.NonVerifiableAccountKeyLinkTransactionV1

Bases: NonVerifiableTransaction

TRANSACTION_TYPE: TransactionType = 2049
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'link_action': 'enum:LinkAction', 'network': 'enum:NetworkType', 'remote_public_key': 'pod:PublicKey', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) NonVerifiableAccountKeyLinkTransactionV1
property remote_public_key: PublicKey
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NonVerifiableCosignatureV1

Bases: NonVerifiableTransaction

TRANSACTION_TYPE: TransactionType = 4098
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'multisig_account_address': 'pod:Address', 'network': 'enum:NetworkType', 'other_transaction_hash': 'pod:Hash256', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) NonVerifiableCosignatureV1
property multisig_account_address: Address
property other_transaction_hash: Hash256
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NonVerifiableMosaicDefinitionTransactionV1

Bases: NonVerifiableTransaction

TRANSACTION_TYPE: TransactionType = 16385
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'mosaic_definition': 'struct:MosaicDefinition', 'network': 'enum:NetworkType', 'rental_fee': 'pod:Amount', 'rental_fee_sink': 'pod:Address', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) NonVerifiableMosaicDefinitionTransactionV1
property mosaic_definition: MosaicDefinition
property rental_fee: Amount
property rental_fee_sink: Address
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NonVerifiableMosaicSupplyChangeTransactionV1

Bases: NonVerifiableTransaction

TRANSACTION_TYPE: TransactionType = 16386
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'action': 'enum:MosaicSupplyChangeAction', 'deadline': 'pod:Timestamp', 'delta': 'pod:Amount', 'fee': 'pod:Amount', 'mosaic_id': 'struct:MosaicId', 'network': 'enum:NetworkType', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
property action: MosaicSupplyChangeAction
property delta: Amount
classmethod deserialize(payload: bytes | bytearray | memoryview) NonVerifiableMosaicSupplyChangeTransactionV1
property mosaic_id: MosaicId
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NonVerifiableMultisigAccountModificationTransactionV1

Bases: NonVerifiableTransaction

TRANSACTION_TYPE: TransactionType = 4097
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'modifications': 'array[SizePrefixedMultisigAccountModification]', 'network': 'enum:NetworkType', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) NonVerifiableMultisigAccountModificationTransactionV1
property modifications: List[SizePrefixedMultisigAccountModification]
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NonVerifiableMultisigAccountModificationTransactionV2

Bases: NonVerifiableTransaction

TRANSACTION_TYPE: TransactionType = 4097
TRANSACTION_VERSION: int = 2
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'modifications': 'array[SizePrefixedMultisigAccountModification]', 'network': 'enum:NetworkType', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) NonVerifiableMultisigAccountModificationTransactionV2
property min_approval_delta: int
property modifications: List[SizePrefixedMultisigAccountModification]
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NonVerifiableMultisigTransactionV1

Bases: NonVerifiableTransaction

TRANSACTION_TYPE: TransactionType = 4100
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'inner_transaction': 'struct:NonVerifiableTransaction', 'network': 'enum:NetworkType', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) NonVerifiableMultisigTransactionV1
property inner_transaction: NonVerifiableTransaction
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NonVerifiableNamespaceRegistrationTransactionV1

Bases: NonVerifiableTransaction

TRANSACTION_TYPE: TransactionType = 8193
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'name': 'bytes_array', 'network': 'enum:NetworkType', 'parent_name': 'bytes_array', 'rental_fee': 'pod:Amount', 'rental_fee_sink': 'pod:Address', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
classmethod deserialize(payload: bytes | bytearray | memoryview) NonVerifiableNamespaceRegistrationTransactionV1
property name: bytes
property parent_name: bytes
property rental_fee: Amount
property rental_fee_sink: Address
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NonVerifiableTransaction

Bases: object

TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'network': 'enum:NetworkType', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
property deadline: Timestamp
property fee: Amount
property network: NetworkType
serialize() bytes
property signer_public_key: PublicKey
property size: int
sort() None
property timestamp: Timestamp
to_json()
property type_: TransactionType
property version: int
class symbolchain.nc.NonVerifiableTransactionFactory

Bases: object

classmethod create_by_name(entity_name: str) NonVerifiableTransaction
classmethod deserialize(payload: bytes) NonVerifiableTransaction
class symbolchain.nc.NonVerifiableTransferTransactionV1

Bases: NonVerifiableTransaction

TRANSACTION_TYPE: TransactionType = 257
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'amount': 'pod:Amount', 'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'message': 'struct:Message', 'network': 'enum:NetworkType', 'recipient_address': 'pod:Address', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
property amount: Amount
classmethod deserialize(payload: bytes | bytearray | memoryview) NonVerifiableTransferTransactionV1
property message: Message
property message_envelope_size_computed: int
property recipient_address: Address
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.NonVerifiableTransferTransactionV2

Bases: NonVerifiableTransaction

TRANSACTION_TYPE: TransactionType = 257
TRANSACTION_VERSION: int = 2
TYPE_HINTS = {'amount': 'pod:Amount', 'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'message': 'struct:Message', 'mosaics': 'array[SizePrefixedMosaic]', 'network': 'enum:NetworkType', 'recipient_address': 'pod:Address', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
property amount: Amount
classmethod deserialize(payload: bytes | bytearray | memoryview) NonVerifiableTransferTransactionV2
property message: Message
property message_envelope_size_computed: int
property mosaics: List[SizePrefixedMosaic]
property recipient_address: Address
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.PublicKey(public_key: StrBytes = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')

Bases: ByteArray

SIZE = 32
classmethod deserialize(payload: bytes | bytearray | memoryview) PublicKey
serialize() bytes
property size: int
class symbolchain.nc.Signature(signature: StrBytes = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')

Bases: ByteArray

SIZE = 64
classmethod deserialize(payload: bytes | bytearray | memoryview) Signature
serialize() bytes
property size: int
class symbolchain.nc.SizePrefixedCosignatureV1

Bases: object

TYPE_HINTS = {'cosignature': 'struct:CosignatureV1'}
property cosignature: CosignatureV1
classmethod deserialize(payload: bytes | bytearray | memoryview) SizePrefixedCosignatureV1
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.SizePrefixedMosaic

Bases: object

TYPE_HINTS = {'mosaic': 'struct:Mosaic'}
classmethod deserialize(payload: bytes | bytearray | memoryview) SizePrefixedMosaic
property mosaic: Mosaic
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.SizePrefixedMosaicProperty

Bases: object

TYPE_HINTS = {'property_': 'struct:MosaicProperty'}
classmethod deserialize(payload: bytes | bytearray | memoryview) SizePrefixedMosaicProperty
property property_: MosaicProperty
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.SizePrefixedMultisigAccountModification

Bases: object

TYPE_HINTS = {'modification': 'struct:MultisigAccountModification'}
classmethod deserialize(payload: bytes | bytearray | memoryview) SizePrefixedMultisigAccountModification
property modification: MultisigAccountModification
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.Timestamp(timestamp: int = 0)

Bases: BaseValue

SIZE = 4
classmethod deserialize(payload: bytes | bytearray | memoryview) Timestamp
serialize() bytes
class symbolchain.nc.Transaction

Bases: object

TYPE_HINTS = {'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'network': 'enum:NetworkType', 'signature': 'pod:Signature', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
property deadline: Timestamp
property fee: Amount
property network: NetworkType
serialize() bytes
property signature: Signature
property signer_public_key: PublicKey
property size: int
sort() None
property timestamp: Timestamp
to_json()
property type_: TransactionType
property version: int
class symbolchain.nc.TransactionFactory

Bases: object

classmethod create_by_name(entity_name: str) Transaction
classmethod deserialize(payload: bytes) Transaction
class symbolchain.nc.TransactionType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

MOSAIC_DEFINITION = 16385
MOSAIC_SUPPLY_CHANGE = 16386
MULTISIG = 4100
MULTISIG_ACCOUNT_MODIFICATION = 4097
MULTISIG_COSIGNATURE = 4098
NAMESPACE_REGISTRATION = 8193
TRANSFER = 257
classmethod deserialize(payload: bytes | bytearray | memoryview) TransactionType
serialize() bytes
property size: int
to_json()
class symbolchain.nc.TransferTransactionV1

Bases: Transaction

TRANSACTION_TYPE: TransactionType = 257
TRANSACTION_VERSION: int = 1
TYPE_HINTS = {'amount': 'pod:Amount', 'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'message': 'struct:Message', 'network': 'enum:NetworkType', 'recipient_address': 'pod:Address', 'signature': 'pod:Signature', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
property amount: Amount
classmethod deserialize(payload: bytes | bytearray | memoryview) TransferTransactionV1
property message: Message
property message_envelope_size_computed: int
property recipient_address: Address
serialize() bytes
property size: int
sort() None
to_json()
class symbolchain.nc.TransferTransactionV2

Bases: Transaction

TRANSACTION_TYPE: TransactionType = 257
TRANSACTION_VERSION: int = 2
TYPE_HINTS = {'amount': 'pod:Amount', 'deadline': 'pod:Timestamp', 'fee': 'pod:Amount', 'message': 'struct:Message', 'mosaics': 'array[SizePrefixedMosaic]', 'network': 'enum:NetworkType', 'recipient_address': 'pod:Address', 'signature': 'pod:Signature', 'signer_public_key': 'pod:PublicKey', 'timestamp': 'pod:Timestamp', 'type_': 'enum:TransactionType'}
property amount: Amount
classmethod deserialize(payload: bytes | bytearray | memoryview) TransferTransactionV2
property message: Message
property message_envelope_size_computed: int
property mosaics: List[SizePrefixedMosaic]
property recipient_address: Address
serialize() bytes
property size: int
sort() None
to_json()