{"slug":"402-com-tr-api-x402-base-swap-validity-d3a8a5","title":"The base-swap 0x trade as a Cobalt validity transaction","host":"402.com.tr","method":"GET","resource":"https://402.com.tr/api/x402/base-swap-validity","category":"market","description":"The base-swap 0x trade as a Cobalt validity transaction: Base includes your signed tx only while your conditions hold — a conditional order with no limit-order contract and nobody holding the trade. We never hold funds or keys; you sign and submit. Every request carries the deadline Base requires (a","price_listed":0.02,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"amount":"10","buy":"ETH","sell":"USDC","slippage":"100","taker":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"amount":{"description":"Amount you sell","type":"string"},"beforeBlock":{"description":"Deadline block (optional; at most 60 s out, set for you if omitted)","type":"string"},"buy":{"description":"Token you buy","type":"string"},"fromBlock":{"description":"Earliest block (optional)","type":"string"},"minNativeBalanceWei":{"description":"Min taker ETH balance in wei (optional)","type":"string"},"sell":{"description":"Token you sell","type":"string"},"slippage":{"description":"Slippage in bps (optional, default 100)","type":"string"},"storageAddress":{"description":"Advanced: pool/token for a storage condition","type":"string"},"storageMask":{"description":"Advanced: mask (hex, optional)","type":"string"},"storageOp":{"description":"Advanced: operator (< <= = != > >=)","type":"string"},"storageSlot":{"description":"Advanced: storage slot (hex)","type":"string"},"storageValue":{"description":"Advanced: compare value (hex)","type":"string"},"taker":{"description":"Your wallet (signs the swap)","type":"string"}},"required":["sell","buy","amount","taker"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"The base-swap 0x trade as a Cobalt validity transaction: Base includes your signed tx only while your conditions hold — a conditional order with no limit-order contract and nobody holding the trade. We never hold funds or keys; you sign and submit. Every request carries the deadline Base requires (at most 60 s out; set for you if omitted). Optional conditions: fromBlock, minNativeBalanceWei, or a caller-supplied storage predicate for price.","last_updated":"2026-11-27T07:44:08.77Z","schemes":["exact"]}