Skip to main content

Get recent transactions

Retrieves all recently mined transactions

If using TypeScript, import typings for this response from our types package:

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

Query Parameters
limit integer

Possible values: value ≤ 200

max number of transactions to fetch

offset integer

index of first transaction to fetch

type string[]

Possible values: [coinbase, token_transfer, smart_contract, contract_call, poison_microblock, tenure_change]

Filter by transaction type

unanchored boolean

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

Responses
200

List of transactions

Schema OPTIONAL
limit integer

Possible values: value ≤ 200

The number of transactions to return

offset integer

The number to transactions to skip (starting at 0)

total integer

The number of transactions available

results object[]