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

> createAndSignTransaction(
    connection: Connection ,
    operations: Operation[],
    keyStores: FtKeyStore [],
): Promise<Buffer<ArrayBufferLike>> Insta

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/utils.createAndSignTransaction/

Function

# createAndSignTransaction

* ```signature
  createAndSignTransaction(
      connection: Connection,
      operations: Operation[],
      keyStores: FtKeyStore[],
  ): Promise<Buffer<ArrayBufferLike>>
  ```

  Instantiates a transaction which will contain the provided operations,
  as well as signs it using the provided keystores.

  #### Parameters

  + connection: [Connection](https://docs.chromia.com/pages/ft4-ts-client/interfaces/ft-session.Connection/)

    used to determine what blockchain the transaction will be submitted to
  + operations: Operation[]

    what operations to include in the transaction
  + keyStores: [FtKeyStore](https://docs.chromia.com/pages/ft4-ts-client/interfaces/authentication.FtKeyStore/)[]

    the keystores which will sign the transaction

  #### Returns Promise<Buffer<ArrayBufferLike>>

  A serialized version of the signed transaction

  #### Remarks

  Does not submit the transaction to the blockchain.

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