bhivegraphenebase.signedtransactions module¶
-
class
bhivegraphenebase.signedtransactions.
Signed_Transaction
(*args, **kwargs)¶ Bases:
bhivegraphenebase.objects.GrapheneObject
Create a signed transaction and offer method to create the signature
- Parameters
refNum (num) – parameter ref_block_num (see
bhivebase.transactions.getBlockParams()
)refPrefix (num) – parameter ref_block_prefix (see
bhivebase.transactions.getBlockParams()
)expiration (str) – expiration date
operations (array) – array of operations
-
derSigToHexSig
(s)¶ Format DER to HEX signature
-
deriveDigest
(chain)¶
-
getChainParams
(chain)¶
-
getKnownChains
()¶
-
getOperationKlass
()¶
-
property
id
¶ The transaction id of this transaction
-
sign
(wifkeys, chain=None)¶ Sign the transaction with the provided private keys.
- Parameters
wifkeys (array) – Array of wif keys
chain (str) – identifier for the chain
-
verify
(pubkeys=[], chain=None, recover_parameter=False)¶ Returned pubkeys have to be checked if they are existing