Documentation

Suggesting a network

Web
JSON

suggestNetwork can be useful if you are using a network that isn't a Mainnet for your application, such as a test network, a side chain or a fork.

scatter.suggestNetwork(network).then(added => {
    //...
})
{
    id:'random-uid',
    type:'requestAddNetwork',
    plugin:'Your App Name',
    payload:{
        origin:'domain' || 'YOUR_APP',
        network:{...}
    }
}