The DiscoveryFactory function internally creates and returns the Discovery class.
This class is specialized for the provided Explorer, which is responsible for fetching blockchain data like transaction details.
Use DiscoveryInstance to declare instances for this class: const: DiscoveryInstance = new Discovery();
The
DiscoveryFactory
function internally creates and returns theDiscovery
class. This class is specialized for the providedExplorer
, which is responsible for fetching blockchain data like transaction details. UseDiscoveryInstance
to declare instances for this class:const: DiscoveryInstance = new Discovery();
See the documentation for the internal Discovery class for a complete list of available methods.