getRelayProtocolApi function
Implementation
RelayJsonRpcMethods getRelayProtocolApi(String protocol) {
final jsonrpc = RELAY_JSONRPC[protocol];
if (jsonrpc == null) {
throw WCException('Relay Protocol not supported: $protocol');
}
return jsonrpc;
}