Exemplo n.º 1
0
        public async Task GetControlledAccountsTest()
        {
            var args = new GetControlledAccountsParams
            {
                ControllingAccount = User.Login
            };
            var resp = await Api.GetControlledAccountsAsync(args, CancellationToken).ConfigureAwait(false);

            TestPropetries(resp);
        }
Exemplo n.º 2
0
        public async Task <OperationResult <GetControlledAccountsResults> > GetControlledAccountsAsync(GetControlledAccountsParams args, CancellationToken token)
        {
            var endpoint = $"{ChainUrl}/v1/history/get_controlled_accounts";

            return(await CustomPutRequestAsync <GetControlledAccountsResults>(endpoint, args, token).ConfigureAwait(false));
        }