Split Intent by Liquidity
Splits token amounts into multiple intents based on available relayer liquidity. Each returned intent can be filled by a single relayer.
Headers
API version. Required; pinned to this document.
API key.
Request body
Example request
{
"chainId": 42161,
"tokens": {
"0xaf88d065e77c8cc2239327c5edb3a432268e5831": "5000000000000"
}
}Response
OK
Example response
{
"intents": [
{
"0xaf88d065e77c8cc2239327c5edb3a432268e5831": "2400000000000"
},
{
"0xaf88d065e77c8cc2239327c5edb3a432268e5831": "1700000000000"
},
{
"0xaf88d065e77c8cc2239327c5edb3a432268e5831": "900000000000"
}
]
}Changes
Changed in 7 of the 17 revisions of this API.26
- ○
endpoint added
endpoint-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ○
added the new
RHINOenum value to the request propertysettlementLayers/items/request-property-enum-value-added
- ○
- ○
added the new optional
headerrequest parameterx-api-versionnew-optional-request-parameter
- ○
added the new
NEARenum value to the request propertysettlementLayers/items/request-property-enum-value-added
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲
- ○
endpoint added
endpoint-added
- ○