What is the Format of Assetref?

+1 vote
I created an Asset which has an Asset Ref as,

assetref" : "288-266-2225"

How to read this and what does it mean?
asked Jan 19, 2017 by rahulkumargr

1 Answer

+1 vote

An asset (or stream) ref contains three pieces of information relating to the transaction which created that asset or stream:

  • The number of the block containing the transaction.
  • The byte offset within that block of the transaction.
  • The first two bytes of the transaction's txid converted to a unsigned integer with no thousands separator. The first byte of the txid is less significant, so the second is multiplied by 256 to create the integer.
answered Jan 19, 2017 by MultiChain
This is very helpful. Thanks!
...