buildUrl method
Build a url for the pact api from the given chainId
Will use the nodeUrl and the networkId set by setNodeUrl and/or setNetworkId
if nodeUrl
and networkId
are not provided.
Implementation
@override
String buildUrl({
required String chainId,
String? nodeUrl,
String? networkId,
}) {
return '${nodeUrl ?? _nodeUrl}/chainweb/0.0/${networkId ?? _networkId}/chain/$chainId/pact/api/v1';
}