• Builds and submits a transaction containing the specified operations in the specified order. Furthermore, this function will use the provided authenticator to correctly authenticate each operation in the transaction as necessary. It will also insert a nop operation at the end of the transaction. To prevent this behavior, see the function callWithoutNop.

    Parameters

    • connection: Connection

      connection to the blockchain which the transaction will be submitted

    • authenticator: Authenticator

      authenticator to use when authenticating the operations in the transaction

    • Rest ...operations: Operation[]

      the operations to include in the transaction

    Returns Web3PromiEvent<TransactionWithReceipt, {
        built: SignedTransaction;
        sent: Buffer;
    }>

    promi-event which will emit once when transaction is built and once when it is sent. It will resolve to a transaction receipt.