Deprecated APIs
Get supported sources for swap operations
Returns a list of all supported sources that support crosschain swaps on Across Protocol.
Authorization
bearerAuth AuthorizationBearer <token>
API key for authentication.
In: header
Query Parameters
chainId?integer
Chain ID of the chain to get supported sources for.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/swap/sources?chainId=1"[
"0x_rfq",
"1inch",
"angle",
"arbswap",
"balancer",
"balancer_v2",
"balancer_v3",
"camelot",
"camelot_v2",
"camelot_v3",
"..."
]{
"type": "AcrossApiError",
"code": "INVALID_PARAM",
"status": 400,
"message": "Invalid request parameters"
}{
"type": "AcrossApiError",
"code": "INTERNAL_SERVER_ERROR",
"status": 500,
"message": "Internal server error"
}Get supported tokens for swap operations GET
Returns a list of all supported tokens that support crosschain swaps on Across Protocol.
Retrieve suggested fee quote for a deposit. GET
Returns suggested fees based on `inputToken`, `outputToken`, `originChainId`, `destinationChainId`, and `amount`. Also includes transfer limits of the system and data used to compute the fees.