dero_get_block_template
Retrieve a DERO mining block template for a specified miner payout address. Use this only when actively mining to obtain a valid block template for your mining client.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet_address": "<wallet_address>"
},
"name": "dero_get_block_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | No | Include block blob | |
| miner | No | Optional miner id / label | |
| wallet_address | Yes | Miner payout DERO address |