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

***

[API](../../API.md) > [accounts](../README.md) > toAccountEffect

# Function: toAccountEffect()

> **toAccountEffect**\<`TParams`\>(...`args`): `Effect`\<`never`, `ToAccountErrorType`, `GetAccountReturnType`\<`AccountSource`\>\>

## Type parameters

▪ **TParams** extends [`AccountSource`]

## Parameters

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

## Source

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

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