dero_get_block_template
Retrieves a mining block template for a DERO miner payout address, providing the payload to start mining on the DERO network.
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 |
|---|---|---|---|
| wallet_address | Yes | Miner payout DERO address | |
| block | No | Include block blob | |
| miner | No | Optional miner id / label |