The client to use. AvalancheCoreClient
The virtual machines installed on the node. LoadVMsReturnType
import { createAvalancheCoreClient } from '@avalanche-sdk/client'
import { avalanche } from '@avalanche-sdk/client/chains'
import { loadVMs } from '@avalanche-sdk/client/methods/admin'
const client = createAvalancheCoreClient({
chain: avalanche,
transport: {
type: "http",
url: "<url>",
},
});
const vms = await loadVMs(client);
Dynamically loads any virtual machines installed on the node as plugins.