best-execution
Goal-based source picker (query form)
Query-string form of intent/solve. Encode the sources as JSON in the from param.
get/api/intent/solve
Request
- Base URL: https://api.anygas.xyz/svc
- URL: https://api.anygas.xyz/svc/api/intent/solve
- Auth: none declared
Query parameters
toChainstring required
toTokenstring required
fromstring required
JSON array of sources, url-encoded.
goal'max-output' | 'cheapest' | 'fastest'
amountstring
toAddressstring
Response
Ranked plan
Example response
{
"goal": "max-output",
"sourcesConsidered": 2
}Changes
No recorded changes to this operation across all 1 revision of this API.