Function loadOperationFromTransaction

  • Extracts one operation from a transaction. Useful e.g., to determine what arguments was passed to a certain operation.

    Parameters

    • tx: Buffer | RawGtx

      the transaction which contains the operation

    • opIndex: number

      at what index the operation can be found

    Returns Operation

    the operation at the specified index