GetNeoRPCForType Method

Treatail NEO Core Logic

Treatail.NEO

NetworkHelper..::..GetNeoRPCForType Method

Gets the Neo RPC for the specified network type. Defaults to Testnet

Namespace:  Treatail.NEO.Core.Logic
Assembly:  Treatail.NEO.Core (in Treatail.NEO.Core.dll)

Syntax


public static NeoRPC GetNeoRPCForType(
	NetworkType type
)
Public Shared Function GetNeoRPCForType ( _
	type As NetworkType _
) As NeoRPC
public:
static NeoRPC^ GetNeoRPCForType(
	NetworkType^ type
)

Parameters

type
Type: Treatail.NEO.Core.Logic..::..NetworkType
NetworkType - network to use

Return Value

NeoRPC - the RPC for the requested network