GetTx
GetTx gets transaction details by hash.
Path parameters
hashstringRequiredExample:
Transaction hash in hex without 0x prefix (Cosmos-like).
67DE3837A1BEED10393592E843167A0EE620258C431E1C946C21E5E3A3A106BB
Pattern: ^(([0-9a-fA-F][0-9a-fA-F])+)?$
Responses
200
OK response.
application/json
404
Not Found response.
application/vnd.goa.error
500
Internal Server Error response.
application/vnd.goa.error
get
GET /api/exchange/gateway/v1/getTx/{hash} HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
"code": 0,
"codespace": "",
"data": "Q2pZS05DOXBibXBsWTNScGRtVXVaWGhqYUdGdVoyVXVkakZpWlhSaE1TNU5jMmREY21WaGRHVlRjRzkwVFdGeWEyVjBUM0prWlhJPQ==",
"height": 6760196,
"index": 0,
"rawLog": "[{\\\"events\\\":[{\\\"type\\\":\\\"message\\\",\\\"attributes\\\":[{\\\"key\\\":\\\"action\\\",\\\"value\\\":\\\"/injective.exchange.v1beta1.MsgCreateSpotMarketOrder\\\"}]}]}]",
"timestamp": "",
"txHash": "67DE3837A1BEED10393592E843167A0EE620258C431E1C946C21E5E3A3A106BB"
}