mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-27 16:44:53 +01:00
15 lines
538 B
C#
15 lines
538 B
C#
namespace BTCPayServer.Monero.RPC
|
|
{
|
|
public class MoneroEvent
|
|
{
|
|
public string BlockHash { get; set; }
|
|
public string TransactionHash { get; set; }
|
|
public string CryptoCode { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return
|
|
$"{CryptoCode}: {(string.IsNullOrEmpty(TransactionHash) ? string.Empty : "Tx Update")}{(string.IsNullOrEmpty(BlockHash) ? string.Empty : "New Block")} ({TransactionHash ?? string.Empty}{BlockHash ?? string.Empty})";
|
|
}
|
|
}
|
|
}
|