Path Parameters
- height_or_hashstringREQUIRED
Block hash (string) or Block height (integer)
Query Parameters
- limitinteger
Max number of transactions to return
- offsetinteger
The number of transactions to skip (for pagination)
Returns
- block_transactionsobject
GET request that returns transactions for a block
- limitinteger
The number of transactions to return.
- offsetinteger
The number of transactions to skip (starting at 0).
- totalinteger
The total number of transactions in the block.
- resultsarray
List of transactions.
- tx_idstring
Transaction ID (hash).
- nonceinteger
Transaction nonce.
- fee_ratestring
Transaction fee rate in micro-STX.
- sender_addressstring
Address of the transaction sender.
- sponsor_nonceinteger
Nonce of the sponsor (if transaction is sponsored).
- sponsoredboolean
Whether the transaction is sponsored.
- sponsor_addressstring
Address of the sponsor (if transaction is sponsored).
- post_condition_modestring
Post-condition mode (allow or deny).
- post_conditionsarray
List of post-conditions for the transaction.
- principalobject
Principal affected by the post condition.
- type_idstring
Type of the principal (principal_origin, principal_standard, etc.).
- addressstring
Address of the principal (if applicable).
- condition_codestring
Condition code (sent_equal_to, sent_less_than_or_equal_to, etc.).
- amountstring
Amount specified in the condition.
- typestring
Type of asset (stx, fungible, non_fungible).
- assetobject
Asset details for fungible or non-fungible assets.
- asset_namestring
Name of the asset.
- contract_addressstring
Contract address of the asset.
- contract_namestring
Contract name of the asset.
- asset_valueobject
Value of non-fungible asset in the condition.
- hexstring
Hex representation of the asset value.
- reprstring
String representation of the asset value.
- anchor_modestring
Anchor mode for the transaction (on_chain_only, off_chain_only, any).
- block_hashstring
Hash of the block containing this transaction.
- block_heightinteger
Height of the block containing this transaction.
- block_timeinteger
Unix timestamp of when this block was processed.
- block_time_isostring
ISO 8601 formatted timestamp of when this block was processed.
- burn_block_timeinteger
Unix timestamp of when this block was mined on the anchor chain.
- burn_block_heightinteger
Height of the anchor chain block.
- burn_block_time_isostring
ISO 8601 formatted timestamp of when this block was mined on the anchor chain.
- parent_burn_block_timeinteger
Unix timestamp of the parent anchor chain block.
- parent_burn_block_time_isostring
ISO 8601 formatted timestamp of the parent anchor chain block.
- canonicalboolean
Whether this transaction is in the canonical chain tip.
- tx_indexinteger
Index of this transaction within the block.
- tx_statusstring
Status of the transaction (success, abort_by_response, abort_by_post_condition).
- tx_resultobject
Result of the transaction execution.
- hexstring
Hex representation of the result.
- reprstring
String representation of the result.
- event_countinteger
Number of events emitted by this transaction.
- parent_block_hashstring
Hash of the parent block.
- is_unanchoredboolean
Whether this transaction is in an unanchored (non-confirmed) block.
- microblock_hashstring
Hash of the microblock containing this transaction.
- microblock_sequenceinteger
Sequence number of the microblock containing this transaction.
- microblock_canonicalboolean
Whether the microblock containing this transaction is in the canonical chain.
- execution_cost_read_countinteger
Execution cost read count.
- execution_cost_read_lengthinteger
Execution cost read length.
- execution_cost_runtimeinteger
Execution cost runtime.
- execution_cost_write_countinteger
Execution cost write count.
- execution_cost_write_lengthinteger
Execution cost write length.
- eventsarray
List of events emitted by this transaction.
- event_indexinteger
Index of the event.
- event_typestring
Type of event (smart_contract_log, stx_asset, etc.).
- tx_idstring
Transaction ID that emitted this event.
- contract_logobject
Details for smart_contract_log events.
- contract_idstring
ID of the contract that emitted the log.
- topicstring
Topic of the log.
- valueobject
Value emitted in the log.
- hexstring
Hex representation of the value.
- reprstring
String representation of the value.
- tx_typestring
Type of transaction (contract_call, token_transfer, etc.).
- contract_callobject
Contract call details (present when tx_type is contract_call).
- contract_idstring
The contract identifier.
- function_namestring
The function called in the contract.
- function_signaturestring
The function signature.
- function_argsarray
List of arguments passed to the function.
- hexstring
Hex representation of the argument.
- reprstring
String representation of the argument.
- namestring
Name of the argument (if available).
- typestring
Type of the argument.
- token_transferobject
Token transfer details (present when tx_type is token_transfer).
- recipient_addressstring
The recipient's address.
- amountstring
The amount of tokens transferred.
- memostring
Memo included with the transfer.