예제 #1
0
 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());
예제 #4
0
 public static Response <IReadOnlyList <UnspentResult> > Unspent(
     this ApiService service,
     [NotNull] ISegwitDestination destination,
     [AllowNull] BigInteger?amount = null
     ) => service.Unspent(destination.GetSegwitAddress().ToString(), amount);
예제 #5
0
 public static async Task <Response <BalanceResult> > BalanceAsync(
     this ApiService service,
     [NotNull] ISegwitDestination destination
     ) => await service.BalanceAsync(destination.GetSegwitAddress().ToString());
예제 #6
0
 public static Response <BalanceResult> Balance(
     this ApiService service,
     [NotNull] ISegwitDestination destination
     ) => service.Balance(destination.GetSegwitAddress().ToString());