Api Endpoint

chainhilt-x402

Compare bridge routes, best first: tokens, estimated and minimum target amounts, fees by token, duration, expiry and the approval each route needs. sourceAmount is exactly what leaves the wallet. Errors: 400 invalid input, 502 when no adapter returns a route.

Open interactive test console

Offering

Provider
chainhilt.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://chainhilt.ai/api/v1/bridge/simulate
MIME type
Not provided
First seen
2026-11-01T15:04:33.795Z
Last seen
Tags
bridge, execution

Payment pricing

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

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xdECE8E839414E4a99213C658ABbD2294d5BD42B0"
  }
]

Observed health

Status
Healthy
Latest latency
5106 ms
Average latency
1481 ms
HTTP status
204
Last checked
Reachability
100% over 10 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "excludedAdapters": {
          "description": "Adapter ids to skip, as listed by GET /bridge/adapters.",
          "items": {
            "enum": [
              "across",
              "circleCctp",
              "debridge",
              "layerzero",
              "relay",
              "socket"
            ],
            "type": "string"
          },
          "type": "array"
        },
        "hyperCoreBalance": {
          "description": "HyperCore targets only. Defaults to perps.",
          "enum": [
            "perps",
            "spot"
          ],
          "type": "string"
        },
        "senderAddress": {
          "description": "Optional wallet that will send the bridge; lets providers quote for it.",
          "pattern": "^0x[a-fA-F0-9]{40}$",
          "type": "string"
        },
        "sourceAmount": {
          "description": "Exact base-unit amount that leaves the wallet. Every fee except native ones comes out of it.",
          "maxLength": 78,
          "pattern": "^[0-9]+$",
          "type": "string"
        },
        "sourceChainId": {
          "description": "EVM chain id the tokens leave from.",
          "exclusiveMinimum": 0,
          "type": "integer"
        },
        "sourceToken": {
          "description": "Source token; the zero address (or 0xEeee…EEeE) bridges the chain's native token.",
          "pattern": "^0x[a-fA-F0-9]{40}$",
          "type": "string"
        },
        "targetChainId": {
          "description": "EVM chain id the tokens arrive on; HyperCore deliveries use HyperEVM's chain id. Both chains must be mainnets or both testnets.",
          "exclusiveMinimum": 0,
          "type": "integer"
        },
        "targetToken": {
          "description": "Target token. It may differ from sourceToken, in which case the route swaps across tokens.",
          "pattern": "^0x[a-fA-F0-9]{40}$",
          "type": "string"
        },
        "targetType": {
          "description": "HyperEVM targets only. hyperCore credits the recipient's HyperCore USDC balance; hyperEvm delivers the token on HyperEVM. Defaults to hyperCore for HyperEVM USDC or when hyperCoreBalance is set, otherwise hyperEvm.",
          "enum": [
            "hyperCore",
            "hyperEvm"
          ],
          "type": "string"
        }
      },
      "required": [
        "sourceAmount",
        "sourceChainId",
        "targetChainId",
        "sourceToken",
        "targetToken"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "properties": {
        "errors": {
          "items": {
            "type": "object"
          },
          "type": "array"
        },
        "routes": {
          "description": "Ordered by estimatedTargetAmount, highest first.",
          "items": {
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "routes",
        "errors"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}