Search by ID
Search blocks, transactions, contracts, or accounts by hash/ID.
GET
/extended/v1/search/{id}
Search
Search blocks, transactions, contracts, or accounts by hash/ID
Path Parameters
id
Requiredstring
The hex hash string for a block or transaction, account address, or contract address
Example:"0xcf8b233f19f6c07d2dc1963302d2436efd36e9afac127bf6582824a13961c06d"
Query Parameters
include_metadata
boolean
This includes the detailed data for purticular hash in the response
Status code | Description |
---|---|
200 | Success |
404 | Not found |
Terminal
$curl -X GET "https://api.hiro.so/extended/v1/search/0xcf8b233f19f6c07d2dc1963302d2436efd36e9afac127bf6582824a13961c06d?include_metadata=true"
complete search result for terms
{"found": false,"result": {"entity_type": "standard_address"},"error": "string"}