getSnEndpoint static method
Implementation
static String getSnEndpoint(String network) {
if (network.contains('polkadot')) {
network = 'polkadot';
}
if (network.contains('acala')) {
network = 'acala-testnet';
}
return 'https://$network.api.subscan.io/api/scan';
}