Gettransactionstatus

gettransactionstatus "txid"

Return the current pool a transaction belongs to

Arguments:
1. txid    (string, required) The transaction id

Result:
{                     (json object)
  "pool" : "str",     (string) In which pool the transaction is currently located, either none, mempool, orphanage or conflicting
  "block" : "str"     (string) If the transaction is mined, this is the blockhash of the mining block, otherwise "none". This field is only present if -txindex is enabled.
}

Examples:
> bitcoin-cli gettransactionstatus "txid"