← Back to directory

Select the best available swap quote and return ordered unsigned transaction act...

https://chainhilt.ai/api/v1/swap/execute

Overview

Select the best available swap quote and return ordered unsigned transaction actions. Run the returned actions in order: up to two approvals, then the swap. Errors: 400 invalid input, 502 when no connector quotes or the swap cannot be built.

Protocol x402 (POST)
Price $0.01
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/defi
Provider chainhilt-x402
Source bazaar
Indexed 2026-10-31 02:40:14

Health

Status healthy
Latency (p50) 1439ms
Uptime (30d) 80.0%
Reliability Score 67/100
Last Checked 2026-10-31 07:08:09
Last Healthy 2026-10-31 07:08:09
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "buyToken": "0x4200000000000000000000000000000000000006", "chainId": 8453, "sellAmount": "1000000", "sellToken": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "slippageBps": 100, "takerAddress": "0xE4934BB19E0B97109033dBfDcCc6957E32F9Cc60" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "response": { "actions": [ { "chainId": 8453, "data": { "data": "0x095ea7b3", "from": "0xE4934BB19E0B97109033dBfDcCc6957E32F9Cc60", "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "value": "0" }, "type": "transaction" }, { "chainId": 8453, "data": { "data": "0xabcdef", "from": "0xE4934BB19E0B97109033dBfDcCc6957E32F9Cc60", "to": "0x0000000000000000000000000000000000000005", "value": "0" }, "type": "transaction" } ], "errors": [], "warnings": [] }, "swap": { "aggregator": "0x", "approval": { "amount": "1000000", "spender": "0x0000000000000000000000000000000000000004", "token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" }, "buyAmount": "560000000000000", "chainId": 8453, "gas": "150000", "sellAmount": "1000000", "tx": { "data": "0xabcdef", "to": "0x0000000000000000000000000000000000000005", "value": "0" } } }, "type": "json" }