curl -X POST "https://starknet.api.avnu.fi/swap/v3/build" \ -H "Content-Type: application/json" \ -d '{ "quoteId": "0a5e3c8e-b5d2-4f1a-9c3d-7e6f5a4b3c2d", "takerAddress": "0x0123...abc", "slippage": 0.01, "includeApprove": true }'
{ "calls": [ { "contractAddress": "0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7", "entrypoint": "approve", "calldata": ["0x123...", "1000000000000000000", "0"] }, { "contractAddress": "0x123abc...", "entrypoint": "swap", "calldata": ["0x049d...", "0x053c...", "1000000000000000000", "3150000000", "0"] } ] }
Get transaction calls to execute a swap
/quotes
Show Call Object
Was this page helpful?