public SingleAddressModel Transform() { return(new SingleAddressModel { Address = Address, Hash160 = Hash160, FinalBalance = DecimalConverter.ConvertToPrecision(FinalBalance, 100000000), TotalReceived = DecimalConverter.ConvertToPrecision(TotalReceived, 100000000), TotalSent = DecimalConverter.ConvertToPrecision(TotalSent, 100000000), NumberTransactions = NTx, NumberUnredeemed = NUnredeemed }); }
public MultiAddressEntryModel Transform() { var entry = new MultiAddressEntryModel { Address = Address, Hash160 = Hash160, FinalBalance = DecimalConverter.ConvertToPrecision(FinalBalance, 100000000), TotalReceived = DecimalConverter.ConvertToPrecision(TotalReceived, 100000000), TotalSent = DecimalConverter.ConvertToPrecision(TotalSent, 100000000), NumberTransactions = NTx, NumberUnredeemed = NUnredeemed }; return(entry); }