> For the complete documentation index, see [llms.txt](https://sdk.venly.io/sdk-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/wallet/vycontractencoderequest.md).

# VyContractEncodeRequest

## Properties

| Field        | Type                                                                                                                         | Description                                                                  | Required |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -------- |
| chain        | [VyChain](/sdk-reference/ts-js-v3/object-references/enum/vychain.md)                                                         | The blockchain of the contract                                               | ✗        |
| functionName | string                                                                                                                       | The contract function name for which you want to encode the input parameters | ✗        |
| inputs       | [VyContractEncodeRequestInputParam](/sdk-reference/ts-js-v3/object-references/wallet/vycontractencoderequestinputparam.md)   | Array of inputs needed to call the function                                  | ✗        |
| outputs      | [VyContractEncodeRequestOutputParam](/sdk-reference/ts-js-v3/object-references/wallet/vycontractencoderequestoutputparam.md) | Array of expected outputs                                                    | ✗        |

## References

**Operation**

* [encodeContract](/sdk-reference/ts-js-v3/function-references/wallet/contract/encodecontract.md)
