public static async Task <Response <IReadOnlyList <UnspentResult> > > UnspentAsync( this UnspentOperation operation, [NotNull] ISegwitDestination destination, [AllowNull] BigInteger?amount = null ) => await operation.GetAsync(destination.GetSegwitAddress().ToString(), amount);
public static async Task <Response <BalanceResult> > BalanceAsync( this BalanceOperation operation, [NotNull] ISegwitDestination destination ) => await operation.GetAsync(destination.GetSegwitAddress().ToString());
public static Response <BalanceResult> Balance( this BalanceOperation operation, [NotNull] ISegwitDestination destination ) => operation.Get(destination.GetSegwitAddress().ToString());
public static Response <IReadOnlyList <UnspentResult> > Unspent( this ApiService service, [NotNull] ISegwitDestination destination, [AllowNull] BigInteger?amount = null ) => service.Unspent(destination.GetSegwitAddress().ToString(), amount);
public static async Task <Response <BalanceResult> > BalanceAsync( this ApiService service, [NotNull] ISegwitDestination destination ) => await service.BalanceAsync(destination.GetSegwitAddress().ToString());
public static Response <BalanceResult> Balance( this ApiService service, [NotNull] ISegwitDestination destination ) => service.Balance(destination.GetSegwitAddress().ToString());