API Reference

Create Single-side Asset Liquidity Session

This API is used to create DeX liqudity session with single-side asset for liqudity providing transaction.

Log in to see full request history
Body Params

Session body

string
Defaults to https://thirdfi.org

URL to redirect user after completing a gateway transaction

string
Defaults to https://thirdfi.org

URL to redirect user after cancelling a gateway transaction

string
required

A existing customer email needs to be provided when creating a session

number
required

If addLiquidity is set to true, this indicates the amount of the token asset used to provide liquidity to the pool. If addLiquidity is set to false, the amount of LP token used to remove from the pool is indicated.

string
required

Blockchain to which the transaction will be sent. See https://thirdfi.readme.io/reference/dexswap-overview#list-of-chains-we-supported for more information.

boolean
required

If true, native token will be used. If false, wrapped tokens (WETH) will be used. defaults to false

boolean
required

Indicate whether to add or remove liquidity.

string
required

Symbol of pair used for manage liquidity. The pair of the pools can be found from Get Supported DeX Pools API (https://thirdfi.readme.io/reference/get-dexswap-pools).

string

Token symbol from the pair that used to provide the liquidity to the pool. This is only applied when addLiquidity is set to true.

Responses

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json