Get transactions for address
Retrieves transactions for a specific address.
GET
GET
/extended/v1/address/{address}/mempool
Retrieves all transactions for a given address that are currently in mempool
Path Parameters
address
Requiredstring
Transactions for the address
Example:"SP197DVH8KTJGX4STM61QN0WJV8Y9QJWXV83ZGNR9"
Query Parameters
limit
integer
max number of transactions to fetch
Example:90
offset
integer
index of first transaction to fetch
Example:42000
unanchored
boolean
Include transaction data from unanchored (i.e. unconfirmed) microblocks
Example:true
Default: false
Status code | Description |
---|---|
200 | List of Transactions |
curl -X GET "https://api.mainnet.hiro.so/extended/v1/address/SP197DVH8KTJGX4STM61QN0WJV8Y9QJWXV83ZGNR9/mempool"
GET request that returns transactions
{
"limit": 0,
"offset": 0,
"total": 0,
"results": [
{
"tx_id": "string",
"nonce": 0,
"fee_rate": "string",
"sender_address": "string",
"sponsor_nonce": 0,
"sponsored": true,
"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",
"receipt_time": 0,
"receipt_time_iso": "string",
"tx_type": "token_transfer",
"token_transfer": {
"recipient_address": "string",
"amount": "string",
"memo": "string"
}
}
]
}