sigil-node · rpc_evidence
Source declarations, signatures and documentation for rpc_evidence.
Source: sigil/node/sigil-node/src/rpc_evidence.rs. SHA-256: fa5fedd769aa5762daddc7c52153a4512c602983a34bc19426d5ec581ef5788e.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
rpc_evidence::handle_get_evidence_anchor
sigil_getEvidenceAnchor — fetch one anchor record by deterministic
anchor ID (evidence:anchor:<hex>). Returns null when not found.
pub async fn handle_get_evidence_anchor(state: &RpcState, req: &RpcRequest) -> RpcResponse;Source line: 11.
rpc_evidence::handle_list_evidence_anchors_by_digest
sigil_listEvidenceAnchorsByDigest — list every anchor record for a
lowercase hex BLAKE3 digest. Returns an empty array when none exist.
pub async fn handle_list_evidence_anchors_by_digest(
state: &RpcState,
req: &RpcRequest,
) -> RpcResponse;Source line: 33.