btcpayserver/BTCPayServer/Services/TransactionLinkProvider.cs
2023-11-29 18:51:40 +09:00

13 lines
414 B
C#

#nullable enable
using BTCPayServer;
namespace BTCPayServer.Services;
public abstract class TransactionLinkProvider
{
public abstract string? OverrideBlockExplorerLink { get; set; }
public abstract string? BlockExplorerLinkDefault { get; }
public string? BlockExplorerLink => OverrideBlockExplorerLink ?? BlockExplorerLinkDefault;
public abstract string? GetTransactionLink(string paymentId);
}