getblocktemplate

From Talleo Wiki
Revision as of 19:26, 22 March 2020 by Mika (talk | contribs) (Created page with "== Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Format |- | reserve_size || yes || Maximum of 255 bytes reserved for user data || uint64 |- | wallet...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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