SW4P Documentation
Browse documentation
Pairs

GET /sdk/v1/pairs

Pairs

Get all supported transfer routes.

Response

pairs array

Array of route pairs

pair object

from string

Source chain code

to string

Destination chain code

source_asset string

Source asset (e.g. USDC)

destination_asset string

Destination asset

provider_mechanism string

Settlement mechanism (e.g. circle_cctp_v2)

estimated_time_seconds number

Estimated settlement time

enabled boolean

Strict frontier-readiness flag. It is false for every pair today, so it is NOT sufficient on its own to decide a route is usable.

strict_frontier_readiness object

The evidence-gate detail. A route is user-actionable only when it has passed the strict readiness gate (missing_gates empty). estimate and transfer hard-gate on this and return 409 ROUTE_NOT_FRONTIER_READY otherwise.

Example

bash · curl
curl https://api.sw4p.io/sdk/v1/pairs \
  -H "X-API-Key: sk_..."
json · Response
{
  "pairs": [
    {
      "from": "BASE",
      "to": "ARB",
      "source_asset": "USDC",
      "destination_asset": "USDC",
      "provider_mechanism": "circle_cctp_v2",
      "estimated_time_seconds": 120,
      "enabled": false,
      "strict_frontier_readiness": {
        "missing_gates": ["destination_settled_proof", "non_usdc_route_proof"]
      }
    }
  ]
}