[**tevm**](../../README.md) *** [tevm](../../modules.md) / [index](../README.md) / encodeFunctionResult # Function: encodeFunctionResult() > **encodeFunctionResult**\<`abi`, `functionName`\>(`parameters`): `` `0x${string}` `` ## Type Parameters | Type Parameter | Default type | | ------ | ------ | | `abi` *extends* [`Abi`](../type-aliases/Abi.md) \| readonly `unknown`[] | - | | `functionName` *extends* `string` \| `undefined` | `undefined` | ## Parameters | Parameter | Type | | ------ | ------ | | `parameters` | `EncodeFunctionResultParameters`\<`abi`, `functionName`\> | ## Returns `` `0x${string}` ``