ordinals-api icon indicating copy to clipboard operation
ordinals-api copied to clipboard

Add previousOwner field to transfer response

Open janniks opened this issue 2 years ago • 4 comments

In a paginated API it would be a nice-to-have to get the previousOwner / sender in the transfer response.

The information exists and can be fetched, but especially in pagination it can be annoying for the developer.


  • To any non-genesis transfer event, add a sender (or previousAddress) field, which simply stores the "owner" before the transfer in the transfer event

janniks avatar Jul 03 '23 15:07 janniks

What's the current process for fetching this information?

chresko avatar Jul 19 '23 15:07 chresko

Currently not shown, would need API changes

janniks avatar Jul 19 '23 18:07 janniks

We'll probably need to implement a change in hord first before the API so it can send us previous addresses, because if we calculate these API side and we ever get a gap in inscription transfers we would be showing incorrect information

rafaelcr avatar Jul 25 '23 03:07 rafaelcr

As we have fewer gaps, decreasing priority.

smcclellan avatar Sep 25 '23 14:09 smcclellan