nectargraphenebase.signedtransactions module
- class nectargraphenebase.signedtransactions.Signed_Transaction(*args: Any, **kwargs: Any)
Bases:
GrapheneObjectCreate a signed transaction and offer method to create the signature
- Parameters:
ref_block_num (num) – reference block number
ref_block_prefix (num)
expiration (str) – expiration date
operations (array) – array of operations
- derSigToHexSig(s: str | bytes) str
Format DER to HEX signature
- deriveDigest(chain: str | Dict[str, Any]) None
- getChainParams(chain: str | Dict[str, Any]) Dict[str, Any]
- getKnownChains() Dict[str, Any]
- property id: str
The transaction id of this transaction
- sign(wifkeys: str | List[str], chain: str | Dict[str, Any] | None = None) Signed_Transaction
Sign the transaction with the provided private keys.
- Parameters:
wifkeys (array) – Array of wif keys
chain (str) – identifier for the chain
- verify(pubkeys: List[Any] | None = None, chain: str | Dict[str, Any] | None = None, recover_parameter: bool = False) List[Any]
Returned pubkeys have to be checked if they are existing