MoralisWeb3 / plugindocs

14 stars 14 forks source link

using more than one chain #1

Open KingzRex opened 3 years ago

KingzRex commented 3 years ago

how doi use more than one chain id below

async function listAvailableTokens(){ const result = await Moralis.Plugins.oneInch.getSupportedTokens({ chain: 'bsc'// The blockchain you want to use (eth/bsc/polygon)

  });
tokens = result.tokens;
let parent = document.getElementById("token_list");
ivan-liljeqvist commented 3 years ago

You do several requests one for each chain

CurveLlama commented 2 years ago

You do several requests one for each chain

Did several requests, but getting fault codes