Search by ID

Search blocks, transactions, contracts, or accounts by hash/ID.

GET

Parameters

Path Parameters

id
REQUIRED
string The hex hash string for a block or transaction, account address, or contract address

Query Parameters

include_metadata
boolean This includes the detailed data for purticular hash in the response
Status codeDescription
200Default Response
404Default Response
4XXDefault Response
cURL
curl -L \
"https://api.hiro.so/extended/v1/search/{id}?include_metadata={include_metadata}" \
-H 'Accept: application/json'
Response
{
"found": false,
"result": {
"entity_id": "string",
"entity_type": "standard_address",
"metadata": {
"balance": "string",
"estimated_balance": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"pending_balance_inbound": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"pending_balance_outbound": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"total_sent": "string",
"total_received": "string",
"total_fees_sent": "string",
"total_miner_rewards_received": "string",
"lock_tx_id": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"locked": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"lock_height": 144000,
"burnchain_lock_height": 144000,
"burnchain_unlock_height": 144000,
"token_offering_locked": {
"total_locked": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"total_unlocked": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"unlock_schedule": [
{
"amount": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
"block_height": 144000
}
]
}
}
}
}

How is this guide?