Guest
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Menu
Home
Help
Login
Register
BitShares Forum
/
Main
/
General Discussion
/
Lacking cancel_order in wallet_api?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Lacking cancel_order in wallet_api? (Read 974 times)
0 Members and 1 Guest are viewing this topic.
October 09, 2015, 02:36:44 am
Reply
#2
botfund
Full Member
Posts: 174
BitShares:
botfund
Re: Lacking cancel_order in wallet_api?
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
Logged
October 09, 2015, 01:41:06 am
Reply
#1
botfund
Full Member
Posts: 174
BitShares:
botfund
Lacking cancel_order in wallet_api?
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
.
Is it intentional or will be added later? I noticed web wallet has this ability using js libraries.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
BitShares Forum
/
Main
/
General Discussion
/
Lacking cancel_order in wallet_api?