public async Task <XCommasResponse <string> > CreateAccountAsync(AccountCreateData data) { var path = $"{BaseAddress}/ver1/accounts/new"; using (var request = XCommasRequest.Post(path).WithSerializedContent(data).Sign(this)) { return(await this.GetResponse <string>(request).ConfigureAwait(false)); } }
public XCommasResponse <string> CreateAccount(AccountCreateData data) => this.CreateAccountAsync(data).Result;