- APIs
- Stacks Blockchain API
- Transactions For Address
Get transactions for address
Retrieves transactions for a specific address.
GET
Parameters
Path Parameters
principal
REQUIRED
string
Query Parameters
limit
integer Results per page
offset
integer Result offset
unanchored
boolean Include data from unanchored (i.e. unconfirmed) microblocks
exclude_function_args
boolean Exclude function_args from contract call responses for smaller transaction sizes.
Status code | Description |
---|---|
200 | List of mempool transactions |
4XX | Default Response |
cURL
curl -L \"https://api.hiro.so/extended/v1/address/{principal}/mempool?limit={limit}&offset={offset}&unanchored=true&exclude_function_args={exclude_function_args}" \-H 'Accept: application/json'
Response
{"limit": 20,"offset": 0,"total": 1,"results": [{"tx_id": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","nonce": 1,"fee_rate": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","sender_address": "SP318Q55DEKHRXJK696033DQN5C54D9K2EE6DHRWP","sponsor_nonce": 0,"sponsored": false,"sponsor_address": "string","post_condition_mode": "allow","post_conditions": [{"principal": {"type_id": "principal_origin"},"condition_code": "sent_equal_to","amount": "string","type": "stx"}],"anchor_mode": "on_chain_only","tx_status": "pending","replaced_by_tx_id": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","receipt_time": 0,"receipt_time_iso": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef","tx_type": "token_transfer","token_transfer": {"recipient_address": "string","amount": "string","memo": ""}}]}