# gtxToRawGtx · FT4 TypeScript client · Chromia Docs (concept)

> gtxToRawGtx(tx: GTX): RawGtx Converts a GTX transaction to a RawGtx format Parameters tx: GTX The GTX transaction to convert Returns RawGtx The transaction

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/crosschain.gtxToRawGtx/

Function

# gtxToRawGtx

* ```signature
  gtxToRawGtx(tx: GTX): RawGtx
  ```

  Converts a GTX transaction to a RawGtx format

  #### Parameters

  + tx: GTX

    The GTX transaction to convert

  #### Returns RawGtx

  The transaction in RawGtx format

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/crosschain.gtxToRawGtx.html)Generated API reference, mirrored from the live docs
