XY Finance
Search
K
📩

Error Message

// error response schema
{
success: boolean
errorCode: integer
errorMsg: string
}
Description
Error Code
Unknown error.
10000
System maintenance.
10001
Invalid affiliate address.
20001
Invalid slippage.
20003
SwapProvider is required.
20004
BridgeProvider, srcBridgeTokenAddress and dstBridgeTokenAddress are required.
20005
Addresses invalid.
20006
Cannot apply swap provider.
20007
Cannot apply bridge provider.
20008
Not supported network.
30001
No available route found.
30002
Not supported bridge provider.
30003
Commission rate not in range.
30004
Not supported swap provider.
30005
Network under maintenance.
30006