Swap Outlink
URL to the swap page on the Swapscanner.
URL
https://swapscanner.io/{LOCALE}/swap?from={FROM_ADDRESS}&to={TO_ADDRESS}
Parameters
-
LOCALE
- (Optional) The locale of the page. Default is the system language. Currentlyen
, andko
are supported. -
FROM_ADDRESS
- (Required) The lowercased address of the token you want to swap (provide). -
TO_ADDRESS
- (Required) The lowercased address of the token you want to receive.
Example
<a
href="https://swapscanner.io/swap?from=0x0000000000000000000000000000000000000000&to=0x8888888888885b073f3c81258c27e83db228d5f3"
target="_blank"
>
Click me to swap your KLAY with SCNR
</a>
Click me to swap your KLAY with SCNR