Get transaction
Retrieves transaction details for a given transaction ID
import type { Transaction } from '@stacks/stacks-blockchain-api-types';
| Path Parameters | 
|---|
| tx_idstring —  REQUIREDHash of transaction Example: 0x0a411719e3bfde95f9e227a2d7f8fac3d6c646b1e6cc186db0e2838a2c6cd9c0 | 
| Query Parameters | 
|---|
| event_offsetintegerThe number of events to skip | 
| event_limitintegerThe numbers of events to return | 
| unanchoredbooleanInclude transaction data from unanchored (i.e. unconfirmed) microblocks Example: true | 
| Responses | ||
|---|---|---|
| 200Transaction 
 | ||
| 404Cannot find transaction for given ID |