Author Topic: transaction ids  (Read 1832 times)

0 Members and 1 Guest are viewing this topic.

Offline monsterer

Using the command line interface, many of the commands are pretty-printed for interactive use as pc said. You can see the raw output by using the "enable_raw" command first.

I've made a note about getting the full txid: https://github.com/BitShares/bitshares/issues/1048

enable_raw, perfect. And thanks for creating the feature request!
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline vikram

Using the command line interface, many of the commands are pretty-printed for interactive use as pc said. You can see the raw output by using the "enable_raw" command first.

I've made a note about getting the full txid: https://github.com/BitShares/bitshares/issues/1048

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Obviously the command line is meant for interactive use. It makes sense to display things in a simplified way that's easier to parse by the human eye.

RPC is meant to be used programmatically. Here, structure is more important than simplicity.

IOW it makes sense the way it is. If you still want to have this unified, I suggest you open a feature request on github.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline monsterer

my guess whould be that the RPC call returns the FULL TXID and only the CLI truncates it  </wildguess>

Hmm, I have often wondered why the command line gives you a different version of the RPC output from what you get in practice. Where's the best place to request they unify that?
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
my guess whould be that the RPC call returns the FULL TXID and only the CLI truncates it  </wildguess>

Offline monsterer

wallet_account_transaction_history lists what appear to be partial or truncated transaction ids. For example, I have d4d012f9 listed from that command. However, this doesn't appear to be enough to, for example, look up this transaction on bitsharesblocks.com.

Calling blockchain_get_transaction d4d012f9, I get a json dump of that transaction, where I can see it was in block 726271. blockchain_get_block 726271, shows me that my transaction was the only one in the block, and the full TXID is d4d012f9a517a5f7b1bdf0a8eeb39a3c24865df6 which starts with the partial id returned from wallet_account_transaction_history .

My question: how can I get this full TXID, or a list of full TXIDs from my wallet?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads