stack

Home > @infiniteobjects/eth-tokens-service > getAlchemyNetwork

getAlchemyNetwork() function

AlchemyNetwork is an enum mixture of IO’s Blockchain and BlockchainNetwork. This method takes those two in as parameters and returns the AlchemyNetwork version for service initialization

Signature:

export declare function getAlchemyNetwork(network?: BlockchainNetwork): AlchemyNetwork;

Parameters

Parameter Type Description
network BlockchainNetwork (Optional)

Returns:

AlchemyNetwork