viz.transactionbuilder¶
Module Contents¶
-
class
ProposalBuilder(author, title, memo, proposal_expiration=None, proposal_review=None, parent=None, *args, **kwargs)¶ Bases:
graphenecommon.transactionbuilder.ProposalBuilder
- private-bases
Proposal Builder allows us to construct an independent Proposal that may later be added to an instance of TransactionBuilder.
- param str proposer
Account name of the proposing user
- param int proposal_expiration
Number seconds until the proposal is supposed to expire
- param int proposal_review
Number of seconds for review of the proposal
- param .transactionbuilder.TransactionBuilder
Specify your own instance of transaction builder (optional)
- param instance blockchain_instance
Blockchain instance
-
define_classes(self)¶
-
get_raw(self)¶ Returns an instance of base “Operations” for further processing.
-
broadcast(self)¶
-
class
TransactionBuilder¶ Bases:
graphenecommon.transactionbuilder.TransactionBuilder
- private-bases
This class simplifies the creation of transactions by adding operations and signers.
-
permission_types= ['master', 'active', 'regular']¶
-
define_classes(self)
-
add_required_fees(self, ops, **kwargs)¶ Override this method because steem-like chains doesn’t have transaction feed.
-
appendSigner(self, accounts, permission)¶ Try to obtain the wif key from the wallet by telling which account and permission is supposed to sign the transaction.
-
get_block_params(self)¶ Auxiliary method to obtain
ref_block_numandref_block_prefix.Requires a websocket connection to a witness node!
-