Sigil documentation
ReferenceJSON-RPC

sigil_listLaborClaims

List bounty claims.

Method

sigil_listLaborClaims is registered in the canonical JSON-RPC catalog. Use POST /rpc, Content-Type: application/json, JSON-RPC 2.0 and a caller-controlled request id. Node RPC profile, build feature and runtime activation checks still apply.

List bounty claims.

Request binding

Source handler: rpc_labor::handle_list_labor_claims in sigil/node/sigil-node/src/rpc_labor.rs, line 293.

The handler directly reads these named fields: claimant_did, offer_id. Additional typed parsing, aliases and nested validation are defined by its request types. Field presence alone does not establish optionality.

Parsing excerpt

These source excerpts show binding and validation; they are not runnable client code.

    let offer_id = req.params.get("offer_id").and_then(Value::as_str);

    let claimant_did = req.params.get("claimant_did").and_then(Value::as_str);

Responses and failures

Check HTTP status, parse the JSON-RPC envelope, reject error, and require result on success. Preserve large base-unit integers without floating-point rounding. A catalog method does not bypass authentication, capability, policy or activation requirements.

On this page