getTransactionByHash

abstract suspend fun getTransactionByHash(transactionHash: String): Option<TransactionResponse>

Queries on-chain transaction by transaction hash. This function will return pending transactions.

Parameters

transactionHash
  • Transaction hash should be hex-encoded bytes string with 0x prefix.