Returns consensus transactions with the given transaction hash.
Changed onRequest
- Base URL: https://nexus.oasis.io/v1
- URL: https://nexus.oasis.io/v1/consensus/transactions/{tx_hash}
- Auth: none declared
Path parameters
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).
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": 30000,
"gas_used": 30000,
"method": "staking.Transfer"
}
]
}Changes
- breaking
the
///////response's property type changed from no type tointeger, and format from no format touint64for status - info
added the optional property
///////to the response with the status - info
removed from the
///////response propertyallOflist for the response status
- breaking
- breaking
the
///////response's property type changed fromintegerto no type, and format fromuint64to no format for status - warning
removed the optional property
///////from the response with the status - info
added to the
///////response propertyallOflist for the response status
- breaking