{"api":"v1","generated_at":"2026-09-15T22:02:52.325Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/3route-agents-bakingbad-dev-api-v6-1-chainid-swap-f30d09","pinned_page":"https://tollindex.com/e/3route-agents-bakingbad-dev-api-v6-1-chainid-swap-f30d09/at/2026-09-15T21-20Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-09-15T21:20:12.737Z","snapshot_stamp":"2026-09-15T21-20Z","endpoint":{"slug":"3route-agents-bakingbad-dev-api-v6-1-chainid-swap-f30d09","canonical_url":"https://3route.agents.bakingbad.dev/api/v6.1/:chainId/swap","resource":"https://3route.agents.bakingbad.dev/api/v6.1/:chainId/swap","http_method":"GET","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"description":"Build an unsigned swap transaction for the best route. Builds an unsigned transaction for the selected route. Compare it with a fresh quote, validate every returned transaction field, obtain explicit signing approval, and broadcast it through the selected chain's RPC. The compatibility parameters permit and usePermit2 are ignored. For an ERC-20 source, approve the router in tx.to for at least srcAmount before executing the returned transaction.","service_name":"3Route","declared_category":null,"declared_tags":["Swap"],"route_template":"/api/v6.1/:chainId/swap","registry_updated":"2026-08-21T13:53:05.999Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"v6 1 swap","category":"market-data","first_observed_by_toll":"2026-09-10T19:08:24.178Z","last_observed_by_toll":"2026-09-15T21:20:12.737Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-10T19:08:24.178Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","asset_name":null,"symbol":"USDC","decimals":6,"amount_display":"0.001 USDC","amount_units":0.001,"decimals_known":true,"pay_to":"AZ59bSccJmQu8Ljic1c5zxhjZitVbbutUYjBNwKLqfyD","scheme":"exact"},{"registry":"cdp","ordinal":1,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.001 USDC","amount_units":0.001,"decimals_known":true,"pay_to":"0x5D89060682fcE50eCaa7600aF6A5645Bd2b107Eb","scheme":"exact"},{"registry":"cdp","ordinal":2,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.001 USDC","amount_units":0.001,"decimals_known":true,"pay_to":"0x5D89060682fcE50eCaa7600aF6A5645Bd2b107Eb","scheme":"batch-settlement"},{"registry":"cdp","ordinal":3,"network":"eip155:42793","asset":"0x796ea11fa2dd751ed01b53c372ffdb4aaa8f00f9","asset_name":"USD Coin","symbol":null,"decimals":null,"amount_display":"1000 smallest units, decimals unknown","amount_units":null,"decimals_known":false,"pay_to":"0x5D89060682fcE50eCaa7600aF6A5645Bd2b107Eb","scheme":"exact"}],"counters":{"observed_at":"2026-09-15T21:20:12.737Z","calls_30d":7,"unique_payers_30d":1,"last_called_at":"2026-08-21T13:53:05.495Z"},"validation":{"latest":{"observed_at":"2026-09-15T07:00:53.664Z","state":"fail","failed_checks":["returns_402"],"endpoint_http_status":301,"run_id":"daily-2026-09-15"},"uptime":[{"days":7,"observed":5,"passed":0,"ratio":0},{"days":30,"observed":5,"passed":0,"ratio":0},{"days":90,"observed":5,"passed":0,"ratio":0}],"history_90d":[{"observed_at":"2026-09-15T07:00:53.664Z","state":"fail","failed_checks":["returns_402"],"run_id":"daily-2026-09-15","state_changed":false},{"observed_at":"2026-09-14T06:27:35.553Z","state":"fail","failed_checks":["returns_402"],"run_id":"daily-2026-09-14","state_changed":false},{"observed_at":"2026-09-13T06:17:19.884Z","state":"fail","failed_checks":["returns_402"],"run_id":"daily-2026-09-13","state_changed":false},{"observed_at":"2026-09-12T09:13:13.611Z","state":"fail","failed_checks":["returns_402"],"run_id":"daily-2026-09-12","state_changed":false},{"observed_at":"2026-09-11T14:45:25.367Z","state":"fail","failed_checks":["returns_402"],"run_id":"daily-2026-09-11","state_changed":true}]},"seller":{"wallet":"AZ59bSccJmQu8Ljic1c5zxhjZitVbbutUYjBNwKLqfyD","page":"https://tollindex.com/seller/AZ59bSccJmQu8Ljic1c5zxhjZitVbbutUYjBNwKLqfyD","endpoints":2,"hosts":1},"reports":0,"registry_record":{"cdp":[{"tags":["Swap"],"type":"http","accepts":[{"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"BFK9TLC3edb13K6v4YyH3DwPb5DSUpkWvb7XnqCL9b4F"},"payTo":"AZ59bSccJmQu8Ljic1c5zxhjZitVbbutUYjBNwKLqfyD","amount":"1000","scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","maxTimeoutSeconds":300},{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x5D89060682fcE50eCaa7600aF6A5645Bd2b107Eb","amount":"1000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300},{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2","withdrawDelay":3600,"receiverAuthorizer":"0x26e80e1d98d89E933f2D31955E719D19d214E779"},"payTo":"0x5D89060682fcE50eCaa7600aF6A5645Bd2b107Eb","amount":"1000","scheme":"batch-settlement","network":"eip155:8453","maxTimeoutSeconds":300},{"asset":"0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9","extra":{"name":"USD Coin","version":"2","assetTransferMethod":"permit2"},"payTo":"0x5D89060682fcE50eCaa7600aF6A5645Bd2b107Eb","amount":"1000","scheme":"exact","network":"eip155:42793","maxTimeoutSeconds":300}],"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1785970748/bazaar-icons/d75422e10534b2bf.png","quality":{"lastCalledAt":"2026-08-21T13:53:05.495Z","l30DaysTotalCalls":7,"l30DaysUniquePayers":1},"resource":"https://3route.agents.bakingbad.dev/api/v6.1/:chainId/swap","extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET","pathParams":{"chainId":"42793"},"queryParams":{"dst":"0x2222222222222222222222222222222222222222","fee":0,"src":"0x0000000000000000000000000000000000000000","from":"0x1111111111111111111111111111111111111111","amount":"1000000000000000000","gasPrice":"1000000000","receiver":"0x1111111111111111111111111111111111111111","referrer":"0x1111111111111111111111111111111111111111","slippage":1,"isExactOutput":false,"includeProtocols":false,"includeTokensInfo":false,"includeBlockNumber":false}},"output":{"type":"json","example":{"tx":{"to":"0x2222222222222222222222222222222222222222","gas":"210000","data":"0x1234","from":"0x1111111111111111111111111111111111111111","value":"1000000000000000000","gasPrice":"1000000000"},"gas":210000,"dstAmount":"950000","srcAmount":"1000000000000000000","dstAmountMin":"940500"}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["chainId"],"properties":{"chainId":{"enum":["4663","42793","128064"],"type":"string","example":"4663","pattern":"^[0-9]+$"}},"additionalProperties":false},"queryParams":{"type":"object","required":["src","dst","amount","from"],"properties":{"dst":{"type":"string","example":"0x2222222222222222222222222222222222222222","pattern":"^0x[0-9a-fA-F]{40}$"},"fee":{"type":"number","default":0,"maximum":3,"minimum":0},"src":{"type":"string","example":"0x0000000000000000000000000000000000000000","pattern":"^0x[0-9a-fA-F]{40}$"},"from":{"type":"string","example":"0x1111111111111111111111111111111111111111","pattern":"^0x[0-9a-fA-F]{40}$"},"amount":{"type":"string","example":"1000000000000000000","pattern":"^[0-9]+$"},"gasPrice":{"type":"string","example":"1000000000","pattern":"^[0-9]+$"},"receiver":{"type":"string","example":"0x1111111111111111111111111111111111111111","pattern":"^0x[0-9a-fA-F]{40}$"},"referrer":{"type":"string","example":"0x1111111111111111111111111111111111111111","pattern":"^0x[0-9a-fA-F]{40}$"},"slippage":{"type":"number","default":1,"example":1,"maximum":50,"minimum":0},"protocols":{"type":"string"},"isExactOutput":{"type":"boolean","default":false},"includeProtocols":{"type":"boolean","default":false},"excludedProtocols":{"type":"string"},"includeTokensInfo":{"type":"boolean","default":false},"includeBlockNumber":{"type":"boolean","default":false}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"routeTemplate":"/api/v6.1/:chainId/swap"},"erc20ApprovalGasSponsoring":{"info":{"version":"1","description":"The facilitator broadcasts a pre-signed ERC-20 approve() transaction to grant Permit2 allowance."},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["from","asset","spender","amount","signedTransaction","version"],"properties":{"from":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"The address of the sender (token owner)."},"asset":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"The address of the ERC-20 token contract."},"amount":{"type":"string","pattern":"^[0-9]+$","description":"The amount approved (uint256). Always MaxUint256."},"spender":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"The address of the spender (Canonical Permit2)."},"version":{"type":"string","pattern":"^[0-9]+(\\.[0-9]+)*$","description":"Schema version identifier."},"signedTransaction":{"type":"string","pattern":"^0x[a-fA-F0-9]+$","description":"The RLP-encoded signed EIP-1559 transaction as a hex string."}}}}},"description":"Build an unsigned swap transaction for the best route. Builds an unsigned transaction for the selected route. Compare it with a fresh quote, validate every returned transaction field, obtain explicit signing approval, and broadcast it through the selected chain's RPC. The compatibility parameters permit and usePermit2 are ignored. For an ERC-20 source, approve the router in tx.to for at least srcAmount before executing the returned transaction.","lastUpdated":"2026-08-21T13:53:05.999Z","serviceName":"3Route","x402Version":2}]}}