getImplementationContractsOnChain

getImplementationContractsOnChain(chainId: ChainId, provider: Provider)

This function retrieves deployed implementation contracts on the specified chain. These implementation contracts are used as facets on CTS-Tokenizer Diamond instances.

Parameters

  • chainId: The ID of the blockchain network
  • provider: A provider instance for read-only interactions.

Returns

An object containing instances of the CTS-Tokenizer implementation contracts.

Usage Example

const implementationContracts = sdk.getImplementationContractsOnChain(11155111, provider);