prepare_anchor
Anchors content_hash on chain. Returns a partially-signed transaction (operator co-signed its fee input) -- add your own witness for from_address and submit. idempotency_key (optional) returns the same prior result on retry instead of building a new transaction.
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": {
"content_hash": "<content_hash>",
"from_address": "<from_address>",
"api_key": "<api_key>"
},
"name": "prepare_anchor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | ||
| algorithm | No | sha2-256 | |
| content_hash | Yes | ||
| from_address | Yes | ||
| idempotency_key | No |