Skip to content
Cosmopediaby Unity Nodes
DiscussionsCosmos-SDKHow to search transactions on blockchain by recipientForum ↗

How to search transactions on blockchain by recipient

Cosmos-SDK5 posts1,716 views5 likesLast activity Apr 2020
AB
abyssal0OP
Mar 2020 1

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

NN
nnkken
Mar 2020 4

/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.

MN
mnstan
Apr 2020

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

NN
nnkken
Apr 2020

You misspelled recipient:sweat_smile:

MN
mnstan
Apr 2020

Oh my…thanks a lot :grin:

← Back to Discussions