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.
Range
1 <= valueValue in
1 | 10 | 56 | 130 | 137 | 143 | 232 | 324 | 480 | 999 | 1135 | 1337 | 1868 | 2337 | 4217 | 4326 | 4663 | 8453 | 9745 | 34443 | 42161 | 43114 | 57073 | 59144 | 81457 | 84532 | 421614 | 7777777 | 11155111 | 11155420 | 728126428 | 34268394551451Response Body
application/json
application/json
application/json
curl -X GET "https://api.staging.across.to/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.