getblocktemplate
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