BitSharp.Core.Domain.ChainState.TryGetUnspentTx C# (CSharp) Method

TryGetUnspentTx() public method

public TryGetUnspentTx ( UInt256 txHash, UnspentTx &unspentTx ) : bool
txHash UInt256
unspentTx UnspentTx
return bool
        public bool TryGetUnspentTx(UInt256 txHash, out UnspentTx unspentTx)
        {
            using (var handle = this.cursorCache.TakeItem())
            {
                var cursor = handle.Item.Item;
                return cursor.TryGetUnspentTx(txHash, out unspentTx);
            }
        }