Skip to content

Check_canister_ranges

check_canister_ranges(params): boolean

Defined in: packages/agent/src/certificate.ts:748

Check if a canister ID falls within the canister ranges of a given subnet

the parameters with which to check the canister ranges

Principal

the canister ID to check

Principal

the subnet ID from which to check the canister ranges

HashTree

the hash tree in which to lookup the subnet’s canister ranges

boolean

true if the canister is in the range, false otherwise