public async Task ConsumedFee() { var request = new ContractConsumedFeeRequestDto { Address = "SXPnULosD1pcfYWHaVTzXWfuetYUpTZycgh", Payload = "06fdde03", Sender = "SCjRdq6w3QX8HWusFc6mUXbkMgbKB9shhZt", }; var res = await _httpService.ContractConsumedFee(Network, request); var json = JsonSerializer.Serialize(res); _testOutputHelper.WriteLine(json); }
public async Task <ContractConsumedFeeResponseDto> ContractConsumedFee(string network, ContractConsumedFeeRequestDto model) { const string url = "/contract/consumed_fee"; return(await Post <ContractConsumedFeeRequestDto, ContractConsumedFeeResponseDto>(network, url, model)); }