PendingTransaction.pending
The pending method of the PendingTransaction interface returns true if the transaction lookup has not yet resolved.
This is a non-blocking check, and can be called any number of times before wait() is called.
Syntax
Parameters
None.
Return value
A boolean.