Example #1
0
        public async Task list_owner_histories()
        {
            var args = new ListOwnerHistoriesArgs
            {
                Start = new object[0],
                Limit = 3
            };
            var resp = await Api.ListOwnerHistoriesAsync(args, CancellationToken.None).ConfigureAwait(false);

            TestPropetries(resp);
        }
Example #2
0
        public void list_owner_histories()
        {
            var args = new ListOwnerHistoriesArgs()
            {
                Start = new object[0],
                Limit = 3
            };
            var resp = Api.ListOwnerHistories(args, CancellationToken.None);

            WriteLine(resp);
            Assert.IsFalse(resp.IsError);

            var obj = Api.CustomGetRequest <JObject>(KnownApiNames.DatabaseApi, "list_owner_histories", args, CancellationToken.None);

            TestPropetries(resp.Result.GetType(), obj.Result);
            WriteLine("----------------------------------------------------------------------------");
            WriteLine(obj);
        }
Example #3
0
 /// <summary>
 /// API name: list_owner_histories
 ///
 /// </summary>
 /// <param name="args">API type: list_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: list_owner_histories_return</returns>
 /// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
 public Task <JsonRpcResponse <ListOwnerHistoriesReturn> > ListOwnerHistories(ListOwnerHistoriesArgs args, CancellationToken token)
 {
     return(CustomGetRequest <ListOwnerHistoriesReturn>(KnownApiNames.DatabaseApi, "list_owner_histories", args, token));
 }