Question

What is the order of the transferred_from array in the webhook payload

  • 3 February 2023
  • 2 replies
  • 41 views

Badge +1

Hi,

We are implementing webhooks and would like to know if there is a specific order the id’s come back in the `transferred_from` and `transferred_to` arrays. 

During our testing, they seem to be a little inconsistent

 

*Update*

I should probably clarify that I am referring to the transfer webhook jic someone is reading this, down the line and it isn’t clear.


2 replies

Userlevel 3
Badge +7

There may be an order that they come in, but it is not guaranteed and should not be relied upon as it might change in the future. What is the use case?

Badge +1

Thanks for the answer.

Ideally, we would avoid filtering and processing any anon ids that have inadvertently been merged with the actual user IDs and only process the real ones.

Wondering if we could take the first (or last) value reliably.

Reply