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
Terminal
curl -X GET \
"https://api.mainnet.hiro.so/extended/v1/search/0xcf8b233f19f6c07d2dc1963302d2436efd36e9afac127bf6582824a13961c06d"

complete search result for terms

Example Response
{
  "found": false,
  "result": {
    "entity_type": "standard_address"
  },
  "error": "string"
}

Last updated on