Skip to main content

GetTx gRPC Method

Returns transaction execution details for a Cosmos-style transaction hash.

Updated on
Sep 17, 2026

Parameters

hash
string

The Tendermint transaction hash to look up, encoded as hexadecimal without a 0x prefix.

Returns

tx_hash
string

The Tendermint transaction hash encoded as a hexadecimal string.

height
string

The height of the returned Injective block.

index
integer

The zero-based position of the transaction within its block.

codespace
string

The module namespace that produced the transaction result code.

code
integer

The numeric transaction result code; zero indicates successful execution.

data
string

The result bytes returned by transaction execution, base64-encoded in JSON representations.

raw_log
string

The raw application log produced while executing the transaction.

timestamp
string

The UTC timestamp of the block immediately preceding transaction inclusion.

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free