Block hash at a height

GET/esplora/api/block-height/{height}

Wallet API v1.0.0 · Blocks

Hash of the indexed block at height. Wallets use it to detect reorganizations: a different hash at a remembered height means the blocks above the fork changed.

Example

curl 'https://api.tensorcash.org/esplora/api/block-height/29818'

Parameters

NameInTypeRequiredDescription
heightpathintegerYesBlock height.

Responses

StatusDescriptionBody
200Block hash
  • text/plain string
404Block not found
  • text/plain string
422Validation Error

Schemas

ValidationError

FieldTypeRequiredDescription
locstring | integer[]Yes
msgstringYes
typestringYes
Source
tensorcash-wallet-api (tensorcash-api) v1.0.0 (772799e) · bobponey · MIT