The client to use.
The ACP preferences. AcpsReturnType
import { createInfoApiClient } from '@avalanche-sdk/client'
import { avalanche } from '@avalanche-sdk/client/chains'
import { acps } from '@avalanche-sdk/client/methods/info'
const client = createInfoApiClient({
chain: avalanche,
transport: {
type: "http",
},
})
const acpPreferences = await acps(client)
Returns peer preferences for Avalanche Community Proposals (ACPs).