Sigil documentation
ReferenceJSON-RPC

gal_checkRevocation

Fetch the revocation status for a DID. **Resolvers MUST call this first on every resolution** — the revocation-first invariant.

Method

gal_checkRevocation 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.

Fetch the revocation status for a DID. Resolvers MUST call this first on every resolution — the revocation-first invariant.

Request binding

Source handler: rpc_gal::handle_check_revocation in sigil/node/sigil-node/src/rpc_gal.rs, line 104.

The handler uses no directly named params.get fields, or delegates input parsing to a typed helper. Use the request types below rather than assuming an empty parameter object.

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