@circle-fin/usdckit - v0.18.0
    Preparing search index...

    Function getChainContractByAddress

    • Retrieves the contract associated with a given address from the specified chain.

      Parameters

      • chain: Chain

        The chain from which to retrieve the contract.

      • address: `0x${string}`

        The address of the contract to retrieve.

      Returns ChainContract

      The contract associated with the given address.

      ChainDoesNotSupportContract If the chain does not support the contract.

      getChainContractByAddress(ETH_SEPOLIA, '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238')
      // => { address: '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238' }