BitShares Forum
Main => General Discussion => Topic started by: botfund on October 09, 2015, 01:41:06 am
-
I didn't find cancel_order in wallet_api whereas I found signed_transaction cancel_order(object_id_type order_id, bool broadcast = false) in https://github.com/cryptonomex/graphene/blob/master/libraries/wallet/wallet.cpp (https://github.com/cryptonomex/graphene/blob/master/libraries/wallet/wallet.cpp).
Is it intentional or will be added later? I noticed web wallet has this ability using js libraries.
-
Well, I figured it out by using below in wallet_cli:
begin_builder_transaction
add_operation_to_builder_transaction 0 [2,{"fee":{"amount":0,"asset_id":"1.3.0"},"fee_paying_account":"1.2.xxxxxx","order":"1.7.xxxxxx"}]
sign_builder_transaction 0 true