Proving that you own a given limit order?

Started by monsterer, May 27, 2015, 08:09:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

monsterer

My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

xeroc

Quote from: monsterer on May 27, 2015, 08:09:29 AM
Is there any way to provide proof that you placed a given limit order on the bitshares market?
Sure .. from the market order you can get the full transaction via

delegate (locked) >>> blockchain_get_market_order 498cbcd40106972487b2d436a0b9ab5d61dd1dd1
{
  "type": "bid_order",
  "market_index": {
    "order_price": {
      "ratio": "0.000315457413249211",
      "quote_asset_id": 22,
      "base_asset_id": 0
    },
    "owner": "BTSHkp33WcCQhYh57cLJafLm2t4Qnxb4NUSh"
  },
  "state": {
    "balance": 239999,
    "last_update": "2015-05-11T21:17:20"
  }
}

Whoever put that order also holds the private key to the "owner" and can sign a hash with that key

delegate (locked) >>> help wallet_sign_hash
Usage:
wallet_sign_hash <signer> <hash>                                                                      Signs the provided message digest with the account key
Signs the provided message digest with the account key

Parameters:
  signer (string, required): A public key, address, or account name whose key to sign with
  hash (sha256, required): SHA256 digest of the message to sign

Returns:
  compact_signature

where <hash> is SHA256(message)

monsterer

Is there any way to provide proof that you placed a given limit order on the bitshares market?
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads