/cosmos/tx/v1beta1/txs/{hash}
GET
GetTx fetches a tx by hash.
Path Parameters
hashstringrequired
hash is the tx hash to query, encoded as a hex string.Responses
codestringrequired
Code identifying the cause of the failed request.messagestringrequired
Detailed message including the name and value of the invalid parameter.{"code": "ERROR_CODE","message": "An unexpected error response."}
cURL
curl -X GET 'https://rest-injective-mainnet.nodit.io/cosmos/tx/v1beta1/txs/{hash}' \-H 'Content-Type: application/json' \-H 'X-API-KEY: nodit-demo'