The /cosmos/tx/v1beta1/txs/{hash}
endpoint should return a 404 error if no tx is found for the given hash #10985
Closed
Description
opened on Jan 20, 2022
Summary of Bug
The /cosmos/tx/v1beta1/txs/{hash}
endpoint should return a 404 error if no transaction is found for the given hash. At the moment the API returns a 400 bad request
error.
Version
Cosmos SDK v0.42.6 (Gaia v5.0.2 / cosmoshub-4)
Steps to Reproduce
curl -v "https://api.cosmos.network/cosmos/tx/v1beta1/txs/29049BC678EECAB036E5B2FCCB2148837B118F903591713257DE1F720143F2FA"
Similar issue
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
Activity