beemgraphenebase.signedtransactions module

class beemgraphenebase.signedtransactions.Signed_Transaction(*args, **kwargs)

Bases: beemgraphenebase.objects.GrapheneObject

Create a signed transaction and offer method to create the signature

Parameters:
  • refNum (num) – parameter ref_block_num (see getBlockParams)
  • refPrefix (num) – parameter ref_block_prefix (see getBlockParams)
  • expiration (str) – expiration date
  • operations (Array) – array of operations
derSigToHexSig(s)

Format DER to HEX signature

deriveDigest(chain)
getChainParams(chain)
getKnownChains()
getOperationKlass()
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)