Latest Block
Returns the block number and hash of the highest block available in the dataset, or null if no blocks are available. Takes real-time data into account. Useful mostly for diagnostics, as clients using /stream can get this info from the X-Sqd-Finalized-Head-Number and X-Sqd-Finalized-Head-Hash response headers.
get/head
Request
- Base URLhttps://portal.sqd.dev/datasets/bitcoin-mainnet
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Highest block information
Example response
{
"number": 83934980,
"hash": "000000000500bf041e3f1de4e81528fc3225281e4e6bde5a9fbe821de67ef349"
}Changes
No recorded changes to this operation across all 1 revision of this API.