Skip to content

Simplify Returned Value for User Cost Per Swap #688

Open
@levmi

Description

@levmi

In building out flows on Terminal, we've noticed that it can be complicated and convoluted to grab the end cost to the user for Loop swaps (particularly on the Loop In side of things). We often have to calculate the end swap fee using CostServer, chain txes, and invoices. Through discussions internally, we've determined that it makes sense to fix this through a change on the client to just deliver a single value for the cost to the user and not require any calculations beyond that.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions