> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gelato.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Typescript Functions

## What are Typescript Functions?

Typescript Functions are decentralized cloud functions. They enable developers to execute on-chain transactions based on arbitrary off-chain data (APIs / subgraphs, etc) & computation. These functions are written in Typescript, stored on IPFS and run by Gelato.

<Note>
  Typescript Functions enable automation in conjunction with the various trigger types outlined on our [Trigger Types](/web3-functions/introduction/trigger-types) page.
</Note>

## Essential Role of Typescript Functions

### Seamless Integration with Off-Chain Data

They provide an elegant solution for incorporating real-time data from the outside world, enabling smart contracts to respond to external events and changes.

### Enhanced Computation Capabilities

Typescript Functions allow for complex calculations that would be too gas-intensive to perform on-chain, facilitating more sophisticated decision-making processes in your DApps.

### Customizable Logic Execution

Developers can bring the full power of Typescript to create flexible advanced logic to deliver their application use cases.

## Next steps

Head over to our quick start guide and get hands on with writing typescript functions:

<CardGroup cols={2}>
  <Card title="Writing Typescript Functions" icon="link" href="/web3-functions/how-to-guides/write-typescript-functions">
    Learn how to write Typescript Functions.
  </Card>

  <Card title="Event Trigger" icon="link" href="/web3-functions/how-to-guides/write-typescript-functions/event-trigger">
    Learn how to write Typescript Functions with an event trigger.
  </Card>
</CardGroup>
