public async Task GetRawCodeAndAbiTest(string accName) { var args = new GetRawCodeAndAbiParams { AccountName = accName }; var resp = await Api.GetRawCodeAndAbiAsync(args, CancellationToken).ConfigureAwait(false); TestPropetries(resp); }
/// <summary> /// /// </summary> /// <param name="args">Account name to get code and abi for</param> /// <param name="token"></param> /// <returns></returns> public async Task <OperationResult <GetRawCodeAndAbiResults> > GetRawCodeAndAbiAsync(GetRawCodeAndAbiParams args, CancellationToken token) { var endpoint = $"{ChainUrl}/v1/chain/get_raw_code_and_abi"; return(await CustomPutRequestAsync <GetRawCodeAndAbiResults>(endpoint, args, token).ConfigureAwait(false)); }