Api Endpoint

402.com.tr … /x402/base-swap-validity

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.

Open interactive test console

Offering

Provider
402.com.tr
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://402.com.tr/api/x402/base-swap-validity
MIME type
application/json
First seen
2026-10-16T01:58:26.121Z
Last seen
Tags
Onchain, EVM, wallet-intel, Security, Data, Swap, validity, Base, X402

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.02 USDC
Atomic price: 20000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0x973a31858f4d2125f48c880542da11a2796f12d6"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "20000",
    "payTo": "4au4N67H9KpfqgPC5yEu15Ac6weHJVNnkRQnW7sucgHX"
  }
]

Observed health

Status
Healthy
Latest latency
84 ms
Average latency
13626 ms
HTTP status
402
Last checked
Reachability
66.7% over 3 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "sell": {
          "type": "string",
          "description": "Token you sell"
        },
        "buy": {
          "type": "string",
          "description": "Token you buy"
        },
        "amount": {
          "type": "string",
          "description": "Amount you sell"
        },
        "taker": {
          "type": "string",
          "description": "Your wallet (signs the swap)"
        },
        "beforeBlock": {
          "type": "string",
          "description": "Deadline block (optional; at most 60 s out, set for you if omitted)"
        },
        "fromBlock": {
          "type": "string",
          "description": "Earliest block (optional)"
        },
        "minNativeBalanceWei": {
          "type": "string",
          "description": "Min taker ETH balance in wei (optional)"
        },
        "slippage": {
          "type": "string",
          "description": "Slippage in bps (optional, default 100)"
        },
        "storageAddress": {
          "type": "string",
          "description": "Advanced: pool/token for a storage condition"
        },
        "storageSlot": {
          "type": "string",
          "description": "Advanced: storage slot (hex)"
        },
        "storageOp": {
          "type": "string",
          "description": "Advanced: operator (< <= = != > >=)"
        },
        "storageValue": {
          "type": "string",
          "description": "Advanced: compare value (hex)"
        },
        "storageMask": {
          "type": "string",
          "description": "Advanced: mask (hex, optional)"
        }
      },
      "required": [
        "sell",
        "buy",
        "amount",
        "taker"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "input": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET"
          ]
        },
        "queryParams": {
          "type": "object",
          "properties": {
            "sell": {
              "type": "string",
              "description": "Token you sell"
            },
            "buy": {
              "type": "string",
              "description": "Token you buy"
            },
            "amount": {
              "type": "string",
              "description": "Amount you sell"
            },
            "taker": {
              "type": "string",
              "description": "Your wallet (signs the swap)"
            },
            "beforeBlock": {
              "type": "string",
              "description": "Deadline block (optional; at most 60 s out, set for you if omitted)"
            },
            "fromBlock": {
              "type": "string",
              "description": "Earliest block (optional)"
            },
            "minNativeBalanceWei": {
              "type": "string",
              "description": "Min taker ETH balance in wei (optional)"
            },
            "slippage": {
              "type": "string",
              "description": "Slippage in bps (optional, default 100)"
            },
            "storageAddress": {
              "type": "string",
              "description": "Advanced: pool/token for a storage condition"
            },
            "storageSlot": {
              "type": "string",
              "description": "Advanced: storage slot (hex)"
            },
            "storageOp": {
              "type": "string",
              "description": "Advanced: operator (< <= = != > >=)"
            },
            "storageValue": {
              "type": "string",
              "description": "Advanced: compare value (hex)"
            },
            "storageMask": {
              "type": "string",
              "description": "Advanced: mask (hex, optional)"
            }
          },
          "required": [
            "sell",
            "buy",
            "amount",
            "taker"
          ]
        }
      },
      "required": [
        "type",
        "method"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "input"
  ]
}