Get Networks
Below is an example code describing the way to get networks.
getNetworks()
const networks = await window.martian.getNetworks();
// networks
{
"Mainnet": [],
"Testnet": [],
"Devnet": [],
"Custom": []
}
Last modified 9mo ago