One witness record by its SHA-256
nenrin_witnessReturn one NENRIN witness record by its record SHA-256: pending or anchored, and when anchored, the ledger entry and batch that carry it. Use it to check a walk someone says they submitted.
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": {
"sha256": "<sha256>"
},
"name": "nenrin_witness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | Yes | 64-hex record SHA-256 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lookup | Yes | ok = the ledger was read and the record exists. absent = the ledger was read and there is no such record. A read that FAILED never appears here: it comes back as a tool error (isError: true), so a consumer can never mistake this server's own failure for a statement about the ledger's contents. | |
| source_url | Yes | The public ledger URL that returned this body. Fetch it yourself to compare. | |
| does_not_establish | No |