Verify nonce
verify_nonceVerify a nonce's proof-of-work validity without sending a transaction: count leading zero bits locally and compare to the miner's required difficulty.
Instructions
Verify a mined nonce WITHOUT sending a transaction: reads workFor(miner, nonce), counts leading zero bits locally and compares to requiredBits(miner).
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": {
"miner": "<miner>",
"nonce": "<nonce>"
},
"name": "verify_nonce"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| miner | Yes | EVM address of the miner (0x-prefixed, 20 bytes). | |
| nonce | Yes | Nonce to check, uint256 as a decimal string. |