/cosmos/tx/v1beta1/txs/{hash}

GetTx fetches a tx by hash.

Parameters:

hash - string, hash is the tx hash to query, encoded as a hex string.

Example:

// Request
curl -X GET -H 'Content-Type: application/json' https://zetachain.blockpi.network/lcd/v1/<your-api-key>/cosmos/tx/v1beta1/txs/{hash}

// Result
{
  "tx": {
    "body": {
      "messages": [
        {
          "@type": "string"