bhivebase.signedtransactions module¶
-
class
bhivebase.signedtransactions.
Signed_Transaction
(*args, **kwargs)¶ Bases:
bhivegraphenebase.signedtransactions.Signed_Transaction
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
custom_chains (dict) – custom chain which should be added to the known chains
-
add_custom_chains
(custom_chain)¶
-
getKnownChains
()¶
-
getOperationKlass
()¶
-
sign
(wifkeys, chain='HIVE')¶ Sign the transaction with the provided private keys.
- Parameters
wifkeys (array) – Array of wif keys
chain (str) – identifier for the chain
-
verify
(pubkeys=[], chain='HIVE', recover_parameter=False)¶ Returned pubkeys have to be checked if they are existing