Exemple #1
0
        public async Task <ElectionJointKey> ElectionCombineAsync(string[] election_public_keys)
        {
            var ctxt = new CombineElectionKeysRequest()
            {
                election_public_keys = election_public_keys
            };

            return(await PostRequestAsync <ElectionJointKey, CombineElectionKeysRequest>("/api/v1/key/election/combine", ctxt));
        }
Exemple #2
0
        public ElectionJointKey ElectionCombine(string[] election_public_keys)
        {
            var ctxt = new CombineElectionKeysRequest()
            {
                election_public_keys = election_public_keys
            };

            return(PostRequest <ElectionJointKey, CombineElectionKeysRequest>("/api/v1/key/election/combine", ctxt));
        }