Skip to main content

Build with Wagyu Core

PUBLIC API · V1

Wagyu Core is the public API for quoting, creating, and following swaps and native-to-wrapped bridge orders. These guides explain the integration decisions; the live OpenAPI contract defines every supported consumer HTTP route and schema.

Start a swap integration

Browse the API reference

Give an agent the contract

The integration shape

  1. Discover the available swap assets and bridge state.
  2. Quote an exact input or exact output route.
  3. Create a durable order and present its funding instructions.
  4. Track the order through REST, with WebSocket updates as an enhancement.

What belongs here

AreaWhat you will find
SwapsAsset discovery, exact-input and exact-output quotes, and durable swap orders.
Native bridgeXMR/XMR1 and TRX/TRX1 deposit and withdrawal flows, each independently enabled.
Order ownershipSessions, single-order verification, refund eligibility, and real-time updates.

Contract rules

  • Atomic amounts are strings. Read an asset's decimals from discovery data and never send floating-point values as an amount.
  • The API is public by design. Treasury, operator, recovery, provider-ingress, and API-key-management controls are intentionally not documented or exposed here.
  • Generated contracts win. OpenAPI describes HTTP and AsyncAPI describes realtime, both from engine code rather than a hand-maintained copy.
  • Failures carry a machine code. Branch on it, never on the prose. A pair with no route right now is 400 no_route; a chain or asset switched off is 503 unavailable. See actions and retries.
Public integrations only

If a guide and the interactive reference ever disagree, use the OpenAPI reference for the exact request and response shape.