Closed mayank-daga closed 1 month ago
Use /txs?query=
instead of /txs?events=
https://cosmos-api.polkachu.com/cosmos/tx/v1beta1/txs?query=message.sender=%27cosmos1w5jleaknx4qhh8exw86eea0ckpeqzuu68kca3l%27&page=1&limit=10
-<URL>/cosmos/tx/v1beta1/txs?query=message.sender=...
+<URL>/cosmos/tx/v1beta1/txs?events=message.sender=...
RPC docs: https://docs.cosmos.network/api#tag/Service/operation/GetTxsEvent
Relevant section:
Array of strings events is the list of transaction event type. Deprecated: post v0.47.x use query instead, which should contain a valid events query.
string query defines the transaction event query that is proxied to Tendermint's TxSearch RPC method. The query must be valid.
@MSalopek that for the help issue is resolved
Is there an existing issue for this?
What happened?
A bug happened!
Gaia Version
v19.1.0
How to reproduce?
Hi, I am using to get particular event transactions but it is giving me following response:
{ "code": 13, "message": "query cannot be empty", "details": [] }
API: http:///cosmos/tx/v1beta1/txs?events=message.sender='cosmos1w5jleaknx4qhh8exw86eea0ckpeqzuu68kca3l'&page=1&limit=10
It was working with earlier versions