Skip to main content

Get transaction

Retrieves transaction details for a given transaction ID

import type { Transaction } from '@stacks/stacks-blockchain-api-types';

Path Parameters
tx_id string REQUIRED

Hash of transaction

Query Parameters
event_offset integer

The number of events to skip

event_limit integer

The numbers of events to return

unanchored boolean

Include transaction data from unanchored (i.e. unconfirmed) microblocks

Responses
200

Transaction

Schema OPTIONAL
object

Describes all transaction types on Stacks 2.0 blockchain

404

Cannot find transaction for given ID