graphenebase.signedtransactions module

exception graphenebase.signedtransactions.MissingSignatureForKey

Bases: Exception

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

Bases: graphenebase.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
default_prefix = 'GPH'
deriveDigest(chain)
detail(*args, **kwargs)
getChainParams(chain)
getKnownChains()
getOperationKlass()
get_default_prefix()
id

The transaction id of this transaction

known_chains = {'GPH': {'chain_id': 'b8d1603965b3eb1acba27e62ff59f74efa3154d43a4188d381088ac7cdf35539', 'core_symbol': 'CORE', 'prefix': 'GPH'}, 'TEST': {'chain_id': '39f5e2ede1f8bc1a3a54a7914414e3779e33193f1f5693510e73cb7a87617447', 'core_symbol': 'TEST', 'prefix': 'TEST'}}
operation_klass

alias of graphenebase.objects.Operation

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)