Use the useRfq()
hook — it lets you fetch swap quotes right in your frontend. It figures out the best path automatically, even through intermediate tokens if needed. That way, your users always get the best rate. You just show the numbers in your UI.
Comments
0 comments
Please sign in to leave a comment.