Open tzarebczan opened 4 years ago
How do I know this is a purchase transaction vs any other transaction where LBC changes hands ?
You'll have an op return and that will decode to the claim id of the purchase, https://explorer.lbry.com/claims/83cf2c7edc54e71961c506b669322a4823fc5dd5 in this case.
The first vout will have the claim address and amount. We are not supporting ones with more than 1 per transaction at this time.
We should store content purchases in chainquery - would this go in the transaction data or a new table?
A purchase tx looks like this: https://explorer.lbry.com/tx/9a6829c34c850d5c6104b215543cb35624ee158cce0f72f8eb3d21e63c0b5e15