/rest/block/notxdetails/{blockhash} - Dash

Returns a block with only its header fields and the list of transaction ids (no full transaction details), a lighter alternative to the full block endpoint.

Endpoint

httpGET /rest/block/notxdetails/{blockhash}.json

Path Parameters

ParameterTypeDescription
blockhashstringHash of the block

Example

bashexport DASH_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${DASH_REST}rest/block/notxdetails/000000000000000abc12def34567890fedcba9876543210abcdef1234567890ff.json"

Response

json{
    "hash": "000000000000000abc12def34567890fedcba9876543210abcdef1234567890ff",
    "height": 2100000,
    "time": 1730000000,
    "tx": [
        "3a1f9c2e7b4d8a05f6c1e3d9b2a4c6e8f0d1b3a5c7e9f2d4b6a8c0e1f3d5b7a9c"
    ]
}

Response Fields

FieldTypeDescription
txarrayTransaction ids only
heightnumberBlock height

Use Cases

  • Lightweight Indexing: List txids without full bodies
  • Header Reads: Read block metadata cheaply
  • Pagination: Fetch txids then hydrate selectively

Error Handling

ErrorMessageDescription
404 / Not FoundNot foundNo block matches the hash
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect