Set up Notification of Liquidity Shortage
To alert token owner liquidity status by api
XY Assets bridge provide liquidity warning api to send an http request via POST method to your desired endpoint to inform you if such situation happens.
The body of the request:
{
"chainId": 1,
"threshold": 6000,
"tokenPrice": 0.132121, # in USD
"remainLiquidity": 1023000000, # with padded zeroes
"contractAddress": "0x1234....",
"text": "<WARNING MESSAGE>"
}
Last modified 1mo ago