GrpcExecutedTransactionResults
open class GrpcExecutedTransactionResults : Disposable, AutoCloseable, GrpcExecutedTransactionResultsInterface
The results of a batch of transactions, in request order. Each item is either the transaction or the error the server reported for it.
Read items by position with get, or in order with has_next and next. An item's error does not end the iteration: next throws it and the following call moves on to the next item. Items can be read any number of times.
Functions
| Name | Summary |
|---|---|
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| get | open override fun get(index: ULong): GrpcExecutedTransaction The item at index, or an error carrying the message the server reported for it. Errors if index is out of range. |
| hasNext | open override fun hasNext(): Boolean Whether next has an item left to return. |
| isEmpty | open override fun isEmpty(): Boolean Whether there are no items. |
| len | open override fun len(): ULong The number of items. |
| next | open override fun next(): GrpcExecutedTransaction The next item, or an error carrying the message the server reported for it. Errors once every item has been returned. |