Search by ID

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

GET
/extended/v1/search/{id}

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

Path Parameters

id
Required
string

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

Example: "0xcf8b233f19f6c07d2dc1963302d2436efd36e9afac127bf6582824a13961c06d"

Query Parameters

include_metadataboolean

This includes the detailed data for purticular hash in the response

Status codeDescription
200Success
404Not found
/extended/v1/search/{id}

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"
}