Get transaction by hash
Changed onLook up a transaction by its hash. This is the same hash that is returned by the API when submitting a transaction (see PendingTransaction).
When given a transaction hash, the server first looks for the transaction in storage (on-chain, committed). If no on-chain transaction is found, it looks the transaction up by hash in the mempool (pending, not yet committed).
To create a transaction hash by yourself, do the following:
- Hash message bytes: "RawTransaction" bytes + BCS bytes of Transaction.
- Apply hash algorithm SHA3-256 to the hash message bytes.
- Hex-encode the hash bytes with 0x prefix.
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/v1/transactions/by_hash/{txn_hash}
- Authnone declared
Path parameters
Hash of transaction to retrieve
Response
Changes
- breaking
the mandatory response header
X-APTOS-BLOCK-HEIGHTremoved for the status200 - breaking
the mandatory response header
X-APTOS-CHAIN-IDremoved for the status200 - breaking
the mandatory response header
X-APTOS-EPOCHremoved for the status200 - breaking
the mandatory response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status200 - breaking
the mandatory response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status200 - breaking
the mandatory response header
X-APTOS-LEDGER-VERSIONremoved for the status200 - breaking
the mandatory response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status200 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status400 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status403 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status404 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status410 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status500 - warning
the optional response header
X-APTOS-BLOCK-HEIGHTremoved for the status503 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status400 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status403 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status404 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status410 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status500 - warning
the optional response header
X-APTOS-CHAIN-IDremoved for the status503 - warning
the optional response header
X-APTOS-CURSORremoved for the status200 - warning
the optional response header
X-APTOS-EPOCHremoved for the status400 - warning
the optional response header
X-APTOS-EPOCHremoved for the status403 - warning
the optional response header
X-APTOS-EPOCHremoved for the status404 - warning
the optional response header
X-APTOS-EPOCHremoved for the status410 - warning
the optional response header
X-APTOS-EPOCHremoved for the status500 - warning
the optional response header
X-APTOS-EPOCHremoved for the status503 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status200 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status400 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status403 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status404 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status410 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status500 - warning
the optional response header
X-APTOS-GAS-USEDremoved for the status503 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status400 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status403 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status404 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status410 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status500 - warning
the optional response header
X-APTOS-LEDGER-OLDEST-VERSIONremoved for the status503 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status400 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status403 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status404 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status410 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status500 - warning
the optional response header
X-APTOS-LEDGER-TIMESTAMPUSECremoved for the status503 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status400 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status403 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status404 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status410 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status500 - warning
the optional response header
X-APTOS-LEDGER-VERSIONremoved for the status503 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status400 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status403 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status404 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status410 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status500 - warning
the optional response header
X-APTOS-OLDEST-BLOCK-HEIGHTremoved for the status503
- breaking
- breaking
added to the
////////////////response propertyoneOflist for the response status - breaking
added to the
/////////////////////response propertyoneOflist for the response status - breaking
added to the
//////////////////response propertyoneOflist for the response status - breaking
added to the
/////////////////response propertyoneOflist for the response status - breaking
added to the
//////////////////response propertyoneOflist for the response status - breaking
added to the
/////////////////response propertyoneOflist for the response status - breaking
added to the
////////////////response propertyoneOflist for the response status - breaking
added to the
/////////////////////response propertyoneOflist for the response status - breaking
added to the
//////////////////response propertyoneOflist for the response status - breaking
added to the
/////////////////response propertyoneOflist for the response status - breaking
added to the
//////////////////response propertyoneOflist for the response status - breaking
added to the
/////////////////response propertyoneOflist for the response status - info
added
abstract_signaturediscriminator mapping keys to the////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the/////////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the//////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the/////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the//////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the/////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the/////////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the//////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the/////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the//////////////////response property for the response status - info
added
abstract_signaturediscriminator mapping keys to the/////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the/////////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the//////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the/////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the//////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the/////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the/////////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the//////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the/////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the//////////////////response property for the response status - info
removed
abstraction_signaturediscriminator mapping keys from the/////////////////response property for the response status - info
removed from the
////////////////response propertyoneOflist for the response status - info
removed from the
/////////////////////response propertyoneOflist for the response status - info
removed from the
//////////////////response propertyoneOflist for the response status - info
removed from the
/////////////////response propertyoneOflist for the response status - info
removed from the
//////////////////response propertyoneOflist for the response status - info
removed from the
/////////////////response propertyoneOflist for the response status - info
removed from the
////////////////response propertyoneOflist for the response status - info
removed from the
/////////////////////response propertyoneOflist for the response status - info
removed from the
//////////////////response propertyoneOflist for the response status - info
removed from the
/////////////////response propertyoneOflist for the response status - info
removed from the
//////////////////response propertyoneOflist for the response status - info
removed from the
/////////////////response propertyoneOflist for the response status
- breaking