public async Task find_owner_histories() { var args = new FindOwnerHistoriesArgs(); var resp = await Api.FindOwnerHistoriesAsync(args, CancellationToken.None).ConfigureAwait(false); TestPropetries(resp); }
public void find_owner_histories() { var args = new FindOwnerHistoriesArgs(); var resp = Api.FindOwnerHistories(args, CancellationToken.None); WriteLine(resp); Assert.IsFalse(resp.IsError); var obj = Api.CustomGetRequest <JObject>(KnownApiNames.DatabaseApi, "find_owner_histories", args, CancellationToken.None); TestPropetries(resp.Result.GetType(), obj.Result); WriteLine("----------------------------------------------------------------------------"); WriteLine(obj); }
/// <summary> /// API name: find_owner_histories /// /// </summary> /// <param name="args">API type: find_owner_histories_args</param> /// <param name="token">Throws a <see cref="T:System.OperationCanceledException" /> if this token has had cancellation requested.</param> /// <returns>API type: find_owner_histories_return</returns> /// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception> public Task <JsonRpcResponse <FindOwnerHistoriesReturn> > FindOwnerHistories(FindOwnerHistoriesArgs args, CancellationToken token) { return(CustomGetRequest <FindOwnerHistoriesReturn>(KnownApiNames.DatabaseApi, "find_owner_histories", args, token)); }