v1

latestOpenAPI 3.0.32026-07-173986194.3 KB

Returns consensus transactions with the given transaction hash.

get/consensus/transactions/{tx_hash}

Path parameters

tx_hashstring required

The transaction hash of the transaction(s) to return. This endpoint can return multiple transactions in cases, where an already processed transaction is re-sent. In such cases only a single transaction will be successfully processed, others will have a failed status (e.g. 'Invalid nonce').

Response

The requested consensus transaction(s).

total_countinteger required

The total number of records that match the query, i.e. the number of records the query would return with limit=infinity.

is_total_count_clippedboolean required

Whether total_count is clipped for performance reasons.

Example response

{
  "total_count": 412,
  "is_total_count_clipped": true,
  "transactions": [
    {
      "block": 8048956,
      "index": 17,
      "timestamp": "2022-10-15T00:05:34Z",
      "hash": "0d0531d6b8a468c07440182b1cdda517f5a076d69fb2199126a83082ecfc0f41",
      "sender": "oasis1qpg2xuz46g53737343r20yxeddhlvc2ldqsjh70p",
      "fee": "1234567890123456789012",
      "gas_limit": "1234567890123456789012",
      "method": "staking.Transfer"
    }
  ]
}