elements_generate_blocks
Generate a specified number of blocks to a receiving address on Elements regtest or testnet for testing and block rewards.
Instructions
Generate blocks to a specific address (regtest/testnet only)
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": {
"nblocks": "<nblocks>",
"address": "<address>"
},
"name": "elements_generate_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Address to receive block rewards | |
| nblocks | Yes | Number of blocks to generate |