Create a new transaction builder.
Handle of the new transaction builder.
Append a new operation to a transaction builder.
transaction_handle
: handle of the transaction builder
op
: the operation in JSON format
Replace an operation in a transaction builder with a new operation.
handle
: handle of the transaction builder
operation_index
: the index of the old operation in the builder to be replaced
new_op
: the new operation in JSON format
Calculate and update fees for the operations in a transaction builder.
handle
: handle of the transaction builder
fee_asset
: name or ID of an asset that to be used to pay fees
Total fees.
Show content of a transaction builder.
handle
: handle of the transaction builder
A transaction.
Sign the transaction in a transaction builder and optionally broadcast to the network.
transaction_handle
: handle of the transaction builder
broadcast
: whether to broadcast the signed transaction to the network
A signed transaction.
Create a proposal containing the operations in a transaction builder (create a new proposal_create operation, then replace the transaction builder with the new operation), then sign the transaction and optionally broadcast to the network.
Note: this command is not effective because you're unable to specify a proposer. It will be deprecated in a future release. Use propose_builder_transaction2()
instead.
handle
: handle of the transaction builder
expiration
: when the proposal will expire
review_period_seconds
: review period of the proposal in seconds
broadcast
: whether to broadcast the signed transaction to the network
A signed transaction.
Create a proposal containing the operations in a transaction builder (create a new proposal_create operation, then replace the transaction builder with the new operation), then sign the transaction and optionally broadcast to the network.
handle
: handle of the transaction builder
account_name_or_id
: name or ID of the account who would pay fees for creating the proposal
expiration
: when the proposal will expire
review_period_seconds
: review period of the proposal in seconds
broadcast
: whether to broadcast the signed transaction to the network
A signed transaction.
Destroy a transaction builder.
handle
: handle of the transaction builder
Converts a signed_transaction in JSON form to its binary representation.
tx
: the transaction to serialize
The binary form of the transaction. It will not be hex encoded, this returns a raw string that may have null characters embedded in it
Signs a transaction.
Given a fully-formed transaction that is only lacking signatures, this signs the transaction with the necessary keys and optionally broadcasts the transaction.
tx
: the unsigned transaction
broadcast
: true if you wish to broadcast the transaction
The signed version of the transaction
Returns an uninitialized object representing a given blockchain operation.
This returns a default-initialized object of the given type; it can be used during early development of the wallet when we don’t yet have custom commands for creating all of the operations the blockchain supports.
Any operation the blockchain supports can be created using the transaction builder’s add_operation_to_builder_transaction()
, but to do that from the CLI you need to know what the JSON form of the operation looks like. This will give you a template you can fill in. It’s better than nothing.
operation_type
: the type of operation to return, must be one of the operations defined in graphene/protocol/operations.hpp
(e.g., “global_parameters_update_operation”)
A default-constructed operation of the given type.