public async Task <bool> SendRequestAsync(EthCoinBase coinbaseRequest, string passPhrase, HexBigInteger durationInSeconds, object id = null) { return (await base.SendRequestAsync(id, await coinbaseRequest.SendRequestAsync(), passPhrase, durationInSeconds) .ConfigureAwait(false)); }
public async Task <bool> SendRequestAsync(EthCoinBase coinbaseRequest, string passPhrase, object id = null, CancellationToken cancellationToken = default(CancellationToken)) { if (coinbaseRequest == null) { throw new ArgumentNullException(nameof(coinbaseRequest)); } if (passPhrase == null) { throw new ArgumentNullException(nameof(passPhrase)); } return (await base.SendRequestAsync(id, cancellationToken, await coinbaseRequest.SendRequestAsync(cancellationToken), passPhrase) .ConfigureAwait(false)); }
public async Task <bool> SendRequestAsync(EthCoinBase coinbaseRequest, string passPhrase, HexBigInteger durationInSeconds, object id = null) { if (coinbaseRequest == null) { throw new ArgumentNullException(nameof(coinbaseRequest)); } if (passPhrase == null) { throw new ArgumentNullException(nameof(passPhrase)); } return (await base.SendRequestAsync(id, await coinbaseRequest.SendRequestAsync(), passPhrase, durationInSeconds) .ConfigureAwait(false)); }
public async Task <dynamic> ExecuteTestAsync(RpcClient client) { var ethCoinBase = new EthCoinBase(client); return(await ethCoinBase.SendRequestAsync()); }
public async Task <object> ExecuteTestAsync(IClient client) { var ethCoinBase = new EthCoinBase(client); return(await ethCoinBase.SendRequestAsync()); }
public async Task<dynamic> ExecuteTestAsync(RpcClient client) { var ethCoinBase = new EthCoinBase(client); return await ethCoinBase.SendRequestAsync(); }
public override async Task <string> ExecuteAsync(IClient client) { var ethCoinBase = new EthCoinBase(client); return(await ethCoinBase.SendRequestAsync()); }