Covalent chains

const GetChainsDto = {};
const chains = await Moralis.Plugins.covalent.getChains(GetChainsDto);

console.log(chains);

Returns:
chains

How do i get an array of the supported chains on covalent?

I don’t think we have that function, make sure to check the docs for available functions https://moralis.io/plugins/covalent/ :raised_hands:

Also for chains you can cross reference it with covalent docs

It’s definately there.

Get Chains
Description: Returns a list of all chains.

interface
GetChainsDto
{
}
await
Moralis.
Plugins
.
covalent
.
getChains
(
GetChainsDto
)
;

Ohhh I see my bad, must have overlooked that, based on your console looks like you get the JSON object, can you check what’s in the data field?

Ye what i need is in the data field, my bad.

1 Like