isPendingTransaction

open suspend override fun isPendingTransaction(transactionHash: HexInput): Boolean

Defines if specified transaction is currently in pending state

To create a transaction hash:

  1. Create a hash message from the bytes: "Aptos::Transaction" bytes + the BCS-serialized Transaction bytes.

  2. Apply hash algorithm SHA3-256 to the hash message bytes.

  3. Hex-encode the hash bytes with 0x prefix.

Parameters

transactionHash

A hash of transaction