- useSquidChains(supportedEVMChainIds?, enabled?): SWRResponse<SquidChain[], any, undefined | Partial<PublicConfiguration<SquidChain[], any, BareFetcher<SquidChain[]>>>>
Parameters
Optional
supportedEVMChainIds: {
[chainId: number]: boolean;
}[chainId: number]: boolean
- enabled: boolean = true
Returns SWRResponse<SquidChain[], any, undefined | Partial<PublicConfiguration<SquidChain[], any, BareFetcher<SquidChain[]>>>>
React hook to get the list of supported chains from the squid API