btcpayserver/BTCPayApp.CommonServer/IBTCPayAppServerClient.cs
2024-07-10 18:06:42 +02:00

29 lines
500 B
C#

using System.Threading;
using System.Threading.Tasks;
namespace BTCPayApp.CommonServer
{
public interface IBTCPayAppServerClient
{
Task TransactionDetected(string txid);
Task NewBlock(string block);
}
public interface IBTCPayAppServerHub
{
Task Handshake(AppHandshake handshake);
Task GetTransactions();
}
public class AppHandshake
{
public string DerivationScheme { get; set; }
}
}