Get a proof-of-work challenge
get_ad_challengeA fresh challenge {id, seed, bits, expires_at} for one place_ad_order call. Solve it yourself: find a decimal nonce such that SHA-256(seed + ":" + nonce) has at least bits leading zero bits (the API difficulty: default 24, 18 to 28). Send the order at least 2 s after getting the challenge and within 10 minutes. One challenge = one order attempt.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_ad_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||