/// <summary>
 /// Scan the Transaction for StealthCoin given address and scan key
 /// </summary>
 /// <param name="tx">The transaction to scan</param>
 /// <param name="address">The stealth address</param>
 /// <param name="scan">The scan private key</param>
 /// <returns></returns>
 public StealthPayment[] GetPayments(Transaction transaction, Key scanKey)
 {
     return(StealthPayment.GetPayments(transaction, this, scanKey));
 }
 public StealthPayment[] GetPayments(Transaction transaction)
 {
     return(StealthPayment.GetPayments(transaction, null, null).Where(p => this.Match(p.Metadata)).ToArray());
 }