Get transaction by ID
Retrieves details of a specific transaction by its transaction ID (txId) for the specified cryptocurrency.
Path parameters
The cryptocurrency code to track (e.g., 'BTC' for Bitcoin, 'LTC' for Litecoin).
The transaction ID to retrieve.
Query parameters
Optional. If set to true, the response will include the raw transaction data in hexadecimal format (transaction field). Default is false.
Response
Transaction details retrieved successfully.
Example response
{
"blockHash": "7639350b31f3ce07ff976ebae772fef1602b30a10ccb8ca69047fe0fe8b9083c",
"confirmations": 1,
"height": 876593,
"transactionId": "14a679cd743f3d2aa51b998747c58dfa9b31c8c669006fc6c6efe4b4f5f76e5b",
"transaction": "02000000000101b596e23a22ea753251a5da4b7d415604dc05ab7c45ff675e077ed60a0d0a8d277401000000fdffffff0126010000000000001600140e48fd70dbb5af35119bfe7d626944c48c98ed9d0340e6c77a58ede14930d83002f05b8a13320a4140ab40a45b7f677f05c7653479d62b3d121823503563096156429b8fe5d818381812b4854ed3f59ec999b6fca8a94420afd36e561af10735e88f95d9655e5b3f7bc79de0a4781ef99d1e030c0c567422ac0063036f7264510a746578742f706c61696e000d3837363537382e6269746d61706821c0afd36e561af10735e88f95d9655e5b3f7bc79de0a4781ef99d1e030c0c56742200000000",
"metadata": {
"vsize": 141,
"fees": 2820,
"feeRate": 20,
"chunk": {
"fees": 2820,
"weight": 564,
"feeRate": 20
}
},
"timestamp": 1540376171,
"replacedBy": "8fdac258458f9216b035b30a62ca0400697d76a83f50cd7dc18eb8352e936cf2"
}Changes
Changed in 7 of the 40 revisions of this API.10510
- ○
added the optional property
metadata/chunkto the response with the200statusresponse-optional-property-added
- ○
- ●
removed the optional property
balanceChangefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
inputsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
outputsfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
replaceablefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
replacingfrom the response with the200statusresponse-optional-property-removed
- ○
added the optional property
metadatato the response with the200statusresponse-optional-property-added
- ●
- ○
added the optional property
inputs/items/featureto the response with the200statusresponse-optional-property-added
- ○
added the optional property
outputs/items/featureto the response with the200statusresponse-optional-property-added
- ○
- ▲
the response property
confirmationsbecame optional for the status200response-property-became-optional
- ▲
the response property
inputsbecame optional for the status200response-property-became-optional
- ▲
the response property
inputs/items/indexbecame optional for the status200response-property-became-optional
- ▲
the response property
inputs/items/inputIndexbecame optional for the status200response-property-became-optional
- ▲
the response property
inputs/items/transactionIdbecame optional for the status200response-property-became-optional
- ▲
the response property
outputsbecame optional for the status200response-property-became-optional
- ▲
the response property
transactionIdbecame optional for the status200response-property-became-optional
- ○
added the optional property
inputs/items/keyPathto the response with the200statusresponse-optional-property-added
- ○
added the optional property
outputs/items/addressto the response with the200statusresponse-optional-property-added
- ▲
- ▲
the
coderesponse's property type/format changed frominteger/tostring/for status404response-property-type-changed
- ▲
removed the required property
errorfrom the response with the404statusresponse-required-property-removed
- ○
added the optional property
httpCodeto the response with the404statusresponse-optional-property-added
- ○
added the optional property
messageto the response with the404statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the404statusresponse-optional-property-added
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 14 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲