Author Topic: Proving that you own a given limit order?  (Read 923 times)

0 Members and 1 Guest are viewing this topic.

Offline monsterer

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

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
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
Code: [Select]
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
Code: [Select]
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)

Offline 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.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads