# Data to construct a block It returns data needed to construct a block to work on. Endpoint: GET /daemon/getblocktemplate Version: 6.6.1 ## Query parameters: - `jsonrequestobject` (object) If the request parameters include a 'mode' key, that is used to explicitly select between the default template request or a proposal. This must be set to "template" or omitted. For the capabilities array of strings the following are the client side supported features. - - - - - - Example: {"mode":"template","capabilities":["proposal"]} ## Response 200 fields (application/json): - `status` (string) Explanation of status Enum: "success", "error" - `data` (object) - `data.capabilities` (array) - `data.version` (integer) Version number - `data.previousblockhash` (string) Block hash of current highest block - `data.finalsaplingroothash` (string) Hash of the final sapling root - `data.transactions` (array) - `data.transactions.data` (string) Transaction data encoded in hexadecimal - `data.transactions.hash` (string) Hash/id encoded in little-endian hexadecimal - `data.transactions.depends` (array) - `data.transactions.fee` (integer) Difference in value between transaction inputs and outputs(in Satoshis); for coinbase transactions, this is a negative number of the collected block fees (ie, not including the block subsidy); if key is not present, fee is unknown and client must not assume there isn't one - `data.transactions.sigops` (integer) Total number of SigOps, as counted for purposes of the block limits; if key is not present, sigop count is unknown and clients must not assume there aren't any - `data.transactions.required` (boolean) If provided and true, this transaction must be in the final block - `data.coinbasetxn` (object) - `data.longpollid` (string) Long polling id - `data.target` (string) The hash target - `data.mintime` (integer) The minimum timestamp appropriate for the next block time in seconds since epoch (Jan 1 1970 GMT) - `data.mutable` (array) - `data.noncerange` (string) A range of valid nonces - `data.sigoplimit` (integer) Limit of sigops in the blocks - `data.sizelimit` (integer) Limit of block size - `data.curtime` (integer) Current timestamp in seconds since epoch (Jan 1 1970 GMT) - `data.bits` (string) Compressed target of next block - `data.height` (integer) The height of the next block - `data.basic_fluxnode_address` (string) FLUX address - `data.basic_fluxnode_payout` (integer) Amount - `data.super_fluxnode_address` (string) FLUX address - `data.super_fluxnode_payout` (integer) Amount - `data.bamf_fluxnode_address` (string) FLUX address - `data.bamf_fluxnode_payout` (integer) Amount