ic-query 0.92.0

Internet Computer query library for CloudEngine, NNS, SNS, ICRC, system canisters, and public network metadata
Documentation
1
2
3
4
5
6
7
//! Explicit Governance neuron IO boundary.
mod neurons;
fn governance_canister(
    governance_canister_id: &str,
) -> Result<ic_platform::candid::contract::Principal, super::SnsHostError> {
    super::query::principal_from_text(governance_canister_id, "governance_canister_id")
}