Custom linking
Get front page
GET
https://oswap.io/#/
Get specific swap pair
GET
https://oswap.io/#/swap/:identifier
Path Parameters
identifier
string
Load the input asset and output asset from pool or load output asset from encoded asset ID
Query Parameters
reverse
boolean
Flips the input asset with output asset if it has any value
Swap and send to address
GET
https://oswap.io/#/send/:poolAddress
Path Parameters
poolAddress
string
Load the input asset and output asset from pool
Query Parameters
reverse
boolean
Flips the input asset with output asset if it has any value
to
string
Wallet address
Create new pool with asset
GET
https://oswap.io/#/create-pool/:assetId
Path Parameters
assetId
string
Unit ID of asset definition
Add liquidity to pool (both assets)
GET
https://oswap.io/#/add-liquidity/:poolAddress
Path Parameters
poolAddress
string
Address of pool AA
Add liquidity to pool (one asset)
GET
https://oswap.io/#/add-liquidity-2/:poolAddress
Path Parameters
poolAddress
string
Address of pool AA
Remove liquidity from pool
GET
https://oswap.io/#/remove-liquidity/:poolAddress
Path Parameters
poolAddress
string
Address of pool AA
Get all pools
GET
https://oswap.io/#/pools
Get pools that contain specific asset
GET
https://oswap.io/#/asset/:assetId
Path Parameters
assetId
string
Unit ID of asset definition
Last updated