Intents
Split Intent by Liquidity
Changed onSplits token amounts into multiple intents based on available relayer liquidity. Each returned intent can be filled by a single relayer.
post/intents/split
Request
- The document declares no server URL.
- Authnone declared. Required headers: x-api-version, x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-api-version'2026-01.alps' required
API version. Required; pinned to this document.
x-api-keystring required
API key.
Request body
Example request
{
"chainId": 42161,
"tokens": {
"0xaf88d065e77c8cc2239327c5edb3a432268e5831": "5000000000000"
}
}Response
OK
Example response
{
"intents": [
{
"0xaf88d065e77c8cc2239327c5edb3a432268e5831": "2400000000000"
},
{
"0xaf88d065e77c8cc2239327c5edb3a432268e5831": "1700000000000"
},
{
"0xaf88d065e77c8cc2239327c5edb3a432268e5831": "900000000000"
}
]
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking