subnet_self

Function subnet_self 

Source
pub fn subnet_self() -> Principal
Expand description

Gets the ID of the subnet on which the canister is running.