# Function forContractAt

- forContractAt(contract, address, settings?): Promise<ContractInstanceEncoder>

- This function is asynchronous.

  Constructs a contract instance encoder for a contract instance at a given address.

  #### Parameters

  - ##### contract: ContractConstructorObject

    The contract constructor object corresponding to the type of the contract.

  - ##### address: string

    The address of the contract instance to decode.

    Address must either be checksummed, or in all one case to circumvent the checksum. Mixed-case with bad checksum will cause this function to throw an exception.

  - ##### settings: EncoderSettings = {}

    The [[EncoderSettings]] to use; see the documentation for that type for more information. If absent, the encoder will be based on just the single contract provided; it is recommended to pass more information to get the encoder's full power.

  #### Returns Promise<ContractInstanceEncoder>

  - Defined in encoder/lib/index.ts:358

Generated using TypeDoc