beemgraphenebase.unsignedtransactions¶
-
class
beemgraphenebase.unsignedtransactions.
GrapheneObjectASN1
(data=None)¶ Bases:
object
Core abstraction class
This class is used for any JSON reflected object in Graphene.
instance.__json__()
: encodes data into json formatbytes(instance)
: encodes data into wire formatstr(instances)
: dumps json object as string
-
json
()¶
-
toJson
()¶
-
class
beemgraphenebase.unsignedtransactions.
Unsigned_Transaction
(*args, **kwargs)¶ Bases:
beemgraphenebase.unsignedtransactions.GrapheneObjectASN1
Create an unsigned transaction with ASN1 encoder for using it with ledger
Parameters: - ref_block_num (num) –
- ref_block_prefix (num) –
- expiration (str) – expiration date
- operations (array) – array of operations
-
build_apdu
(path="48'/13'/0'/0'/0'", chain=None)¶
-
build_apdu_pubkey
(path="48'/13'/0'/0'/0'", request_screen_approval=False)¶
-
build_path
(role, account_index, key_index)¶
-
derSigToHexSig
(s)¶ Format DER to HEX signature
-
deriveDigest
(chain)¶
-
getChainParams
(chain)¶
-
getKnownChains
()¶
-
getOperationKlass
()¶
-
id
¶ The transaction id of this transaction