getAlchemyUrl
getAlchemyUrl(
chainId
,alchemyKey
):string
Returns an alchemy url based on env variables for the given chain
Parameters
• chainId: "mainnet"
| "goerli"
| "sepolia"
| "arbitrum"
| "arbitrum-goerli"
| "arbitrum-sepolia"
| "base"
| "base-goerli"
| "base-sepolia"
| "matic"
| "matic-amoy"
| "matic-mumbai"
| "optimism"
| "optimism-goerli"
| "optimism-sepolia"
= 'optimism'
• alchemyKey: string
= ...
Returns
string