AGENTBRIDGE

Cross-chain routing for humans, builders, and agents.

AgentBridge is the bridge product inside DARKSOL SpendHub. Same normalized contract: quote, order, status, receipt. Different job: moving value across assets and chains instead of buying a card or gift card.

Normalized API

Use /api/spend/quote, /api/spend/order, /api/spend/status?orderId=<id>, and /api/spend/receipt?orderId=<id> with route: bridge.crosschain.

Provider-routed

Upstream routing handles route availability, bridge mechanics, and pair-dependent pricing. DARKSOL standardizes the surface and receipt layer.

0.6% DARKSOL swap fee

AgentBridge includes a 0.6% swap fee on supported bridge routes. Those fees go toward buying and vaulting DARKSOL, while upstream route pricing still applies based on the requested pair.

// FLOW

Quote it, create it, fund it, track it.

01
Quote

Send source asset/network, destination asset/network, amount, and destination address.

02
Create route

DARKSOL returns a provider-backed route with normalized identifiers and funding details.

03
Fund exactly

Send the quoted asset and amount to the returned address. Route execution begins upstream.

04
Track + receipt

Use status and receipt endpoints for accounting, support, or agent memory.

// HUMAN TEST FORM

This creates a real provider route request. It does not move funds until you actually pay the returned funding address.

Waiting for route request…

// EXAMPLES

After you create a route, check progress with /api/spend/status?orderId=<id> and pull a hashed receipt with /api/spend/receipt?orderId=<id>.

Quote

curl -X POST https://acp.darksol.net/api/spend/quote \
  -H "Content-Type: application/json" \
  -d '{
    "route": "bridge.crosschain",
    "tickerFrom": "usdc",
    "networkFrom": "base",
    "tickerTo": "usdt",
    "networkTo": "tron",
    "amount": 100,
    "address": "TYourDestinationAddress"
  }'

Order

curl -X POST https://acp.darksol.net/api/spend/order \
  -H "Content-Type: application/json" \
  -d '{
    "route": "bridge.crosschain",
    "tickerFrom": "usdc",
    "networkFrom": "base",
    "tickerTo": "btc",
    "networkTo": "btc",
    "amount": 100,
    "address": "1111111111111111111114oLvT2"
  }'