Skip to content
Alchemy Logo

Get Transaction

GET
/{apiKey}/api/v2/tx/{txid}

Returns normalized transaction data for the given transaction ID. Response shape is consistent across UTXO networks. Empty fields are omitted.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

stringrequired

Hex-encoded transaction ID.

Query Parameters

booleanoptionaldefaults to false

When true, include spending metadata (spentTxId, spentIndex, spentHeight) on each output that has subsequently been spent.

Responses

200

Transaction details.

400

Malformed request.

404

Resource not found on the requested network.

Was this page helpful?