GetTx
getTx InjectiveExchangeRPC
GetTx gets transaction details by hash.
GEThttps://inj-indexer.nownodes.io/api/exchange/gateway/v1/getTx/{hash}
Path parameters
hash*string
Transaction hash in hex without 0x prefix (Cosmos-like).
"67DE3837A1BEED10393592E843167A0EE620258C431E1C946C21E5E3A3A106BB"
Pattern:
^(([0-9a-fA-F][0-9a-fA-F])+)?$
Response
OK response.
Body
code*integer
Response code
0
codespace*string
Namespace for the resp code
""
data*string (binary)
Result bytes, if any
"Q2pZS05DOXBibXBsWTNScGRtVXVaWGhqYUdGdVoyVXVkakZpWlhSaE1TNU5jMmREY21WaGRHVlRjRzkwVFdGeWEyVjBUM0prWlhJPQ=="
heightinteger (int64)
The block height
6760196
indexinteger
Tx index in the block
0
rawLog*string
The output of the application's logger (raw string). May be non-deterministic.
"[{\\\"events\\\":[{\\\"type\\\":\\\"message\\\",\\\"attributes\\\":[{\\\"key\\\":\\\"action\\\",\\\"value\\\":\\\"/injective.exchange.v1beta1.MsgCreateSpotMarketOrder\\\"}]}]}]"
timestampstring
Time of the previous block.
""
txHash*string
Hex-encoded Tendermint transaction hash
"67DE3837A1BEED10393592E843167A0EE620258C431E1C946C21E5E3A3A106BB"
Request
Response