dero_get_block_template
Retrieve a mining block template for a DERO address to use in mining. Provides necessary data for mining clients without submitting the block.
Instructions
Get a mining block template for a miner payout address via DERO.GetBlockTemplate.
When to call: ONLY when you are actually mining. PREFER dero_get_last_block_header for general chain-tip inspection.
Input Requirements (CRITICAL):
wallet_addressMUST be a valid DERO address (dero1...ordeto1...) that will receive the block reward.blockis OPTIONAL. Set true to include the raw block blob in the response.mineris an OPTIONAL label.
Output: block template payload suitable for a mining client. Does NOT submit a block; submission requires the excluded DERO.SubmitBlock method.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | Include block blob | |
| miner | No | Optional miner id / label | |
| wallet_address | Yes | Miner payout DERO address |