feat: add getNetworksByType
This commit is contained in:
parent
9da6535b58
commit
2ec79e3242
|
@ -18,6 +18,10 @@ export class NetworkRegistryClient extends Client {
|
|||
public async registerNetwork(types: string[]) {
|
||||
return this.callModuleReturn("registerNetwork", { types });
|
||||
}
|
||||
|
||||
public async getNetworksByType(type: string) {
|
||||
return this.callModuleReturn("getNetworksByType", { type });
|
||||
}
|
||||
}
|
||||
|
||||
export const createClient = factory<NetworkRegistryClient>(
|
||||
|
|
Loading…
Reference in New Issue