# Get block data Gets block data using block height or block hash you specify to get info for with verbosity option. Endpoint: GET /daemon/getblock Version: 6.6.1 ## Query parameters: - `hashheight` (integer, required) Block hash or height Example: 588530 - `verbosity` (integer) If verbosity is 0, returns a string that is serialized, hex-encoded data for the block. If verbosity is 1, returns an Object with information about the block. If verbosity is 2, returns an Object with information about the block and information about each transaction. Response example shown is using the default value of 1. Enum: 0, 1, 2 ## Response 200 fields (application/json): - `status` (string) Explanation of status Enum: "success", "error" - `data` (object) - `data.hash` (string) The block hash - `data.confirmations` (string) The number of confirmations or -1 if on wrong chain - `data.size` (integer) The block size - `data.height` (integer) The block height or index - `data.version` (integer) The block version - `data.merkleroot` (string) The merkle root - `data.finalsaplingroot` (string) The root of the Sapling commitment tree after applying this block - `data.tx` (array) - `data.time` (integer) The block time in seconds since epoch (Jan 1 1970 GMT) - `data.nonce` (string) The nonce - `data.solution` (string) The solution - `data.bits` (string) The bits - `data.difficulty` (number) The difficulty - `data.chainwork` (string) The chainwork - `data.anchor` (string) Merkle root of note commitment tree - `data.valuePools` (array) - `data.valuePools.id` (string) Protocol name of pool(sprout,sapling) - `data.valuePools.monitored` (boolean) Status of pool monitor - `data.valuePools.chainValue` (number) Pool value of FLUX - `data.valuePools.chainValueZat` (integer) Pool value of FLUX - `data.valuePools.valueDelta` (integer) Delta value - `data.valuePools.valueDeltaZat` (integer) Delta value - `data.previousblockhash` (string) The hash of the previous block - `data.nextblockhash` (string) The hash of the next block