Docs
chromia.com

Function

callWithoutNop

  • callWithoutNop(
        connection: Connection,
        authenticator: Authenticator,
        ...operations: Operation[],
    ): Web3PromiEvent<
        TransactionWithReceipt,
        { built: SignedTransaction; sent: Buffer },
    >

    Same as call but does not insert a nop at the end of the transaction. This means that subsequent calls to this operation with the same input might fail due to a transaction with the same rid already being in the tx history.

    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

    • ...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.