How to search transactions on blockchain by recipient

/txs?message.action=send&message.sender=adress
can search transactions by sender
But I want to search transactions by recipient. How can I do?

1 Like

/txs?message.action=send&transfer.recipient=address

And in general, you may observe the logs / events in transactions with a specific type to see which tags could be used for searching.

4 Likes

Hi, I tried this but the query returns empty when the address has transfers. Not sure if I am doing it wrong.

eg : https://api.cosmos.network/txs?message.action=send&page=1&transfer.recipent=cosmos1lgcrsvtl0w3kxlt3wfv0dyluuegflm0jrrklcg&limit=1

This query returns empty even though the address has incoming transfers

1 Like

You misspelled recipient:sweat_smile:

Oh my…thanks a lot :grin: