Let’s say we have application which works in BSC network.
I need to get all user’s NFTs from ETH network and show in my application, is it possible to override network setting for that reason?
User logins via <ConnectButton />
from web3uikit
I’m getting NFTs in the following way (<NFT />
is from web3uikit also):
...
{() => getNFTBalances({params: {chain: "rinkeby"}})}
...
{data && data.result.map((nft) => {
return <NFT
chain="rinkeby"
address={currentUserAddress}
tokenId={nft.token_id}
metadata={nft.metadata}
name={nft.name}
/>
})}
When i’m in Rinkeby it works well, but if i change network to BSC testnet (in metamask, not in my code) its not working anymore.
Is there any way to retrieve NFTs from the other network? I’m not going to do something with them, just retrieve them and show on the page while user connected to BSC network
Thanks for your help