Skip to content

Swap exchange rate

Choose a tag to compare

@TechRiderWR TechRiderWR released this 15 Nov 10:53
· 4 commits to main since this release

Adds new computeExpectedSwapAmount utility to the adapter to compute the expected swapped amount from a given token (including decimals) based on the current pool status. It can be used to create swap requests. The release includes a new simple example to create and submit a swap request.