Skip to content

The /cosmos/tx/v1beta1/txs/{hash} endpoint should return a 404 error if no tx is found for the given hash #10985

Closed
@zenit70

Description

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

#3639


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions