setNodeUrl abstract method
Set the target node that the API to send requests to.
Example: https://api.chainweb.com
If queryNetworkId
is true, this will fetch the networkId
from the node's config and store it for future use.
Returns true if it was able to get the networkId from the node.
Implementation
Future<bool> setNodeUrl({
required String nodeUrl,
bool queryNetworkId = true,
});