Get recent transactions
Retrieves all recently mined transactions.
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
limitinteger
max number of transactions to fetch
Example:100Default: 96Maximum: 200offsetinteger
index of first transaction to fetch
Example:42000typearray<string>
Filter by transaction type
Example:"coinbase"from_addressstring
Option to filter results by sender address
to_addressstring
Option to filter results by recipient address
sort_bystring
Option to sort results by block height, timestamp, or fee
Example:"burn_block_time"Default: "block_height"Value in: "block_height" | "burn_block_time" | "fee"start_timeinteger
Filter by transactions after this timestamp (unix timestamp in seconds)
Example:1704067200end_timeinteger
Filter by transactions before this timestamp (unix timestamp in seconds)
Example:1706745599contract_idstring
Filter by contract call transactions involving this contract ID
Example:"SP000000000000000000002Q6VF78.pox-4"function_namestring
Filter by contract call transactions involving this function name
Example:"delegate-stx"nonceinteger
Filter by transactions with this nonce
Example:123orderstring
Option to sort results in ascending or descending order
Example:"desc"Default: "desc"Value in: "asc" | "desc"unanchoredboolean
Include transaction data from unanchored (i.e. unconfirmed) microblocks
Example:trueDefault: false| Status code | Description |
|---|---|
200 | List of transactions |
GET request that returns transactions