Skip to main content

build_toggle_document

Function build_toggle_document 

Source
pub fn build_toggle_document(
    issuer_did: &str,
    vtc_did: &str,
    slug: &str,
    version: &str,
    enable: bool,
) -> TrustTask<Value>
Expand description

Build a governance/capability/enable or /disable request. On enable, config.authority defaults to the community’s own DID — the community is the authority its capability records are issued under.