Function
loadOperationFromTransaction
loadOperationFromTransaction( tx: RawGtx | SignedTransaction, opIndex: number, ): OperationExtracts one operation from a transaction. Useful e.g., to determine what arguments was passed to a certain operation.
Parameters
- tx: RawGtx | SignedTransaction
the transaction which contains the operation
- opIndex: number
at what index the operation can be found
Returns Operation
the operation at the specified index
- tx: RawGtx | SignedTransaction