Home > @infiniteobjects/eth-tokens-service > getAlchemyNetwork
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;
| Parameter | Type | Description |
|---|---|---|
| network | BlockchainNetwork | (Optional) |
Returns:
AlchemyNetwork