nqs_sdk.coding_envs.protocols.coding_protocol module¶
- class nqs_sdk.coding_envs.protocols.coding_protocol.CodingProtocol(protocol)[source]¶
Bases:
ABC
- abstractmethod get_protocol_factory()[source]¶
Returns the protocol factory
- Return type:
Optional
[ProtocolMetaFactory
]
- abstractmethod get_protocol_description()[source]¶
Returns the description of the protocol, the market description and the coding interface
- Return type:
tuple
[str
,str
,list
[str
]]
- abstractmethod get_tx_generators()[source]¶
Returns the list of all tx generators
- Return type:
list
[TxGenerator
]
- abstractmethod get_observables_names()[source]¶
Returns the list of all observables names
- Return type:
list
[str
]
- get_transactions()[source]¶
- Return type:
dict
[str
,list
[Transaction
]]