Difference between revisions of "getblocktemplate"

From Talleo Wiki
Jump to navigation Jump to search
(Created page with "== Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Format |- | reserve_size || yes || Maximum of 255 bytes reserved for user data || uint64 |- | wallet...")
 
(No difference)

Latest revision as of 21:26, 22 March 2020

Input

Argument Mandatory Description Format
reserve_size yes Maximum of 255 bytes reserved for user data uint64
wallet_address yes Wallet address for block reward string

Output

Argument Description Format
difficulty Target difficulty uint64
height Current block height uint32
num_transactions Number of transactions included in block template uint32
reserved_offset Offset of reserved space for user data uint64
blocktemplate_blob Binary large object containing block template string
status Status of the request, "OK" if successful string

Notes

  • num_transactions can be used to discard block template if minimum number of transactions is not satisfied