Function createAndSignTransaction

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

    Parameters

    • connection: Connection

      used to determine what blockchain the transaction will be submitted to

    • operations: Operation[]

      what operations to include in the transaction

    • keyStores: FtKeyStore[]

      the keystores which will sign the transaction

    Returns Promise<Buffer>

    A serialized version of the signed transaction

    Remarks

    Does not submit the transaction to the blockchain.