SubnetStatus: {
    subnetId: string;
    nodeKeys: Map<string, utils.agent.DerEncodedPublicKey>;
    metrics?: {
        num_canisters: bigint;
        canister_state_bytes: bigint;
        consumed_cycles_total: {
            current: bigint;
            deleted: bigint;
        };
        update_transactions_total: bigint;
    };
}

Represents the useful information about a subnet

Type declaration

  • subnetId: string
  • nodeKeys: Map<string, utils.agent.DerEncodedPublicKey>
  • Optional metrics?: {
        num_canisters: bigint;
        canister_state_bytes: bigint;
        consumed_cycles_total: {
            current: bigint;
            deleted: bigint;
        };
        update_transactions_total: bigint;
    }
    • num_canisters: bigint
    • canister_state_bytes: bigint
    • consumed_cycles_total: {
          current: bigint;
          deleted: bigint;
      }
      • current: bigint
      • deleted: bigint
    • update_transactions_total: bigint

Param: subnetId

the principal id of the canister's subnet

Param: nodeKeys

the keys of the individual nodes in the subnet