public bool ContainsUnspentTx(UInt256 txHash)
{
CheckTransaction();
using (SetSessionContext())
{
Api.JetSetCurrentIndex(this.jetSession, this.unspentTxTableId, "IX_TxHash");
Api.MakeKey(this.jetSession, this.unspentTxTableId, DbEncoder.EncodeUInt256(txHash), MakeKeyGrbit.NewKey);
return Api.TrySeek(this.jetSession, this.unspentTxTableId, SeekGrbit.SeekEQ);
}
}