Exemple #1
0
        public async Task find_vesting_delegations()
        {
            var args = new FindVestingDelegationsArgs();
            var resp = await Api.FindVestingDelegationsAsync(args, CancellationToken.None).ConfigureAwait(false);

            TestPropetries(resp);
        }
Exemple #2
0
        public void find_vesting_delegations()
        {
            var args = new FindVestingDelegationsArgs();
            var resp = Api.FindVestingDelegations(args, CancellationToken.None);

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

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

            TestPropetries(resp.Result.GetType(), obj.Result);
            WriteLine("----------------------------------------------------------------------------");
            WriteLine(obj);
        }
Exemple #3
0
 /// <summary>
 /// API name: find_vesting_delegations
 ///
 /// </summary>
 /// <param name="args">API type: find_vesting_delegations_args</param>
 /// <param name="token">Throws a <see cref="T:System.OperationCanceledException" /> if this token has had cancellation requested.</param>
 /// <returns>API type: find_vesting_delegations_return</returns>
 /// <exception cref="T:System.OperationCanceledException">The token has had cancellation requested.</exception>
 public Task <JsonRpcResponse <FindVestingDelegationsReturn> > FindVestingDelegations(FindVestingDelegationsArgs args, CancellationToken token)
 {
     return(CustomGetRequest <FindVestingDelegationsReturn>(KnownApiNames.DatabaseApi, "find_vesting_delegations", args, token));
 }