WaitForTransaction
WaitForTransaction
enum WaitForTransaction
Determines what to wait for after executing a transaction.
WaitForTransaction.finalized
case finalized
Indicates that the transaction has been included in a checkpoint, and all queries may include it.
WaitForTransaction.indexedOnNode
case indexedOnNode
Indicates that the transaction effects will be usable in subsequent transactions (you can reference objects created by this transaction), and that the transaction itself is indexed on the fullnode, so queries served by the fullnode, such as gRPC, will find it.
Warning: This does not guarantee the transaction is indexed on the indexer, so queries served by an indexer, such as GraphQL, may not find it yet. Use WaitForTransaction::Finalized with those clients.
!=(_:_:)
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.
Inequality is the inverse of equality. For any values a and b, a != b
implies that a == b is false.
This is the default implementation of the not-equal-to operator (!=)
for any type that conforms to Equatable.
- Parameters:
- lhs: A value to compare.
- rhs: Another value to compare.