> For the complete documentation index, see [llms.txt](https://multiplechain.gitbook.io/multiplechain-docs-v0.4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://multiplechain.gitbook.io/multiplechain-docs-v0.4/structure/models/contracttransaction.md).

# ContractTransaction

### What is it?

This class is extended from Transaction and, unlike the others, has only one method. There is also a method called decodeData for EVM and Tron. This method can be found as needed on many blockchain networks and decodes the input data of the respective contract transactions.

### Methods

```typescript
import { models } from '@multiplechain/evm-chains'

const tx = new models.ContractTransaction('0x1234')

const address = tx.getAddress()

const decodeData = await tx.decodeData()
```
