**@tevm/viem-effect** ∙ [README](../../README.md) ∙ [API](../../API.md)

***

[API](../../API.md) > [actions](../README.md) > getContractEffect

# Function: getContractEffect()

> **getContractEffect**\<`TParams`\>(...`args`): `Effect`\<`never`, `GetContractErrorType`, `GetContractReturnType`\<`Abi` \| readonly `unknown`[], `undefined` \| `Client`\<`Transport`, `undefined` \| `Chain`\>, `undefined` \| `Client`\<`Transport`, `undefined` \| `Chain`, `undefined` \| `Account`\>, \`0x${string}\`, `string`, `string`, `string`, `true`\>\>

## Type parameters

▪ **TParams** extends [`GetContractParameters`\<`Transport`, `undefined` \| `Chain`, `undefined` \| `Account`, `Abi` \| readonly `unknown`[], `undefined` \| `Client`\<`Transport`, `undefined` \| `Chain`\>, `undefined` \| `Client`\<`Transport`, `undefined` \| `Chain`, `undefined` \| `Account`\>, \`0x${string}\`\>]

## Parameters

▪ ...**args**: `TParams`

## Source

[experimental/viem-effect/src/actions/getContractEffect.js:7](https://github.com/evmts/tevm-monorepo/blob/main/experimental/viem-effect/src/actions/getContractEffect.js#L7)

***
Generated using [typedoc-plugin-markdown](https://www.npmjs.com/package/typedoc-plugin-markdown) and [TypeDoc](https://typedoc.org/)
