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

Example: 100
offset integer

index of first transaction to fetch

Example: 42000
type string[]

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

Filter by transaction type

Example: coinbase
unanchored boolean

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

Example: true
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[]