Skip to main content
GET
/
indexer
/
tx
/
v1
/
txs
/
{tx_hash}
Get transaction by hash
curl --request GET \
  --url https://rollytics-api-evm-1.anvil.asia-southeast.initia.xyz/indexer/tx/v1/txs/{tx_hash}
{
  "tx": {
    "txhash": "<string>",
    "height": "<string>",
    "codespace": "<string>",
    "code": 123,
    "data": "<string>",
    "raw_log": "<string>",
    "logs": [
      {}
    ],
    "info": "<string>",
    "gas_wanted": "<string>",
    "gas_used": "<string>",
    "tx": {},
    "timestamp": "<string>",
    "events": [
      {}
    ]
  }
}

Path Parameters

tx_hash
string
required

The transaction hash.

Response

Successful response

tx
object