diff --git a/docs/pages/reference/common/src/functions/getAlchemyRpcUrl.mdx b/docs/pages/reference/common/src/functions/getAlchemyRpcUrl.mdx index ccfbfa4c38..801ebb2c5e 100644 --- a/docs/pages/reference/common/src/functions/getAlchemyRpcUrl.mdx +++ b/docs/pages/reference/common/src/functions/getAlchemyRpcUrl.mdx @@ -11,7 +11,7 @@ layout: reference function getAlchemyRpcUrl(chainId): undefined | string; ``` -Defined in: [packages/common/src/transport/chainRegistry.ts:148](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/common/src/transport/chainRegistry.ts#L148) +Defined in: [packages/common/src/transport/chainRegistry.ts:154](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/common/src/transport/chainRegistry.ts#L154) Gets the Alchemy RPC base URL for a given chain ID. diff --git a/docs/pages/reference/common/src/functions/getSupportedChainIds.mdx b/docs/pages/reference/common/src/functions/getSupportedChainIds.mdx index 3c75170262..9f116212e4 100644 --- a/docs/pages/reference/common/src/functions/getSupportedChainIds.mdx +++ b/docs/pages/reference/common/src/functions/getSupportedChainIds.mdx @@ -11,7 +11,7 @@ layout: reference function getSupportedChainIds(): number[]; ``` -Defined in: [packages/common/src/transport/chainRegistry.ts:167](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/common/src/transport/chainRegistry.ts#L167) +Defined in: [packages/common/src/transport/chainRegistry.ts:173](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/common/src/transport/chainRegistry.ts#L173) Gets all supported chain IDs from the registry. diff --git a/docs/pages/reference/common/src/functions/isChainSupported.mdx b/docs/pages/reference/common/src/functions/isChainSupported.mdx index 3effc49ec0..5b5d974f94 100644 --- a/docs/pages/reference/common/src/functions/isChainSupported.mdx +++ b/docs/pages/reference/common/src/functions/isChainSupported.mdx @@ -11,7 +11,7 @@ layout: reference function isChainSupported(chainId): boolean; ``` -Defined in: [packages/common/src/transport/chainRegistry.ts:158](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/common/src/transport/chainRegistry.ts#L158) +Defined in: [packages/common/src/transport/chainRegistry.ts:164](https://github.com/alchemyplatform/aa-sdk/blob/main/packages/common/src/transport/chainRegistry.ts#L164) Checks if a chain ID is supported by the Alchemy RPC registry. diff --git a/packages/common/src/transport/chainRegistry.ts b/packages/common/src/transport/chainRegistry.ts index b012a37f18..2df19f6744 100644 --- a/packages/common/src/transport/chainRegistry.ts +++ b/packages/common/src/transport/chainRegistry.ts @@ -18,6 +18,7 @@ export const ALCHEMY_RPC_MAPPING: Record = { 42161: "https://arb-mainnet.g.alchemy.com/v2", // arbMainnet // ARC networks + 5042: "https://arc-mainnet.g.alchemy.com/v2", // arcMainnet 5042002: "https://arc-testnet.g.alchemy.com/v2", // arcTestnet // BASE networks @@ -32,12 +33,17 @@ export const ALCHEMY_RPC_MAPPING: Record = { 97: "https://bnb-testnet.g.alchemy.com/v2", // bnbTestnet 56: "https://bnb-mainnet.g.alchemy.com/v2", // bnbMainnet + // BOBA networks + 288: "https://boba-mainnet.g.alchemy.com/v2", // bobaMainnet + 28882: "https://boba-sepolia.g.alchemy.com/v2", // bobaSepolia + // CELO networks 11142220: "https://celo-sepolia.g.alchemy.com/v2", // celoSepolia 42220: "https://celo-mainnet.g.alchemy.com/v2", // celoMainnet - // CLANKERMON networks - 510525: "https://clankermon-mainnet.g.alchemy.com/v2", // clankermonMainnet + // CRONOS networks + 25: "https://cronos-mainnet.g.alchemy.com/v2", // cronosMainnet + 338: "https://cronos-testnet.g.alchemy.com/v2", // cronosTestnet // ETH networks 1: "https://eth-mainnet.g.alchemy.com/v2", // ethMainnet