Outcome: a working quote-to-settlement loop you can build on.Time: one coffee (10-15 minutes).Bring: EVM wallet basics, a grasp of token approvals, and an API key (
tfk_test_ targets the sandbox).Step 1 - Find What’s Tradable
What’s quotable is a moving target - LPs join, corridors open - so treat this data as a feed to poll, never a constant to pin.List Tradable Pairs
Fetch the pairs currently quotable across your workspace’s eligible solvers:chainId + address pairs verbatim in your quote requests. The networks themselves are listed on Supported Chains.
See Who’s Quoting
Solvers and LPs are the counterparties behind every RFQ quote. You can inspect the roster your workspace can reach:Step 2 - Collect Firm Quotes
Every quote is a live commitment with a countdown attached (roughly a minute of validity) - collect them at decision time, not ahead of it.Authentication
Use atfk_test_ key against the sandbox while you build, then switch to tfk_live_ for production. See Authentication for key setup.
A First Quote Request
Delivery is addressable: funding and signing belong to the input’s
user, but each output lands wherever its receiver says - a third-party wallet included, whichever execution mode runs.ExactInput or ExactOutput?
ExactInput or ExactOutput?
ExactInputfixes what you send - “sell 25 USDC, receive whatever it buys”ExactOutputfixes what you get - “deliver exactly 20 USDC, charge what it takes”
From human units to base units
From human units to base units
250000000Making Sense of the Response
Every entry is a firm quote from a competing solver or LP - ranked, with the best first:Step 3 - Sign and Settle
Preflight your chosen quote, run any approval actions it lists, then follow its plan: sign theescrow-v0 payload and submit - or broadcast the prepared transaction yourself when the quote’s mode is walletBroadcast.
Partial fills are supported when the intent sets
partialFill: true. See the Partial Fills guide.nextActions) contains everything: approval transactions ready to broadcast, the typed data to sign, and where to submit it.
For the full
apiSubmit path - signing the typed data and POSTing the order while TetraFi handles gas - see the Order Submission guide.Where Next
Ready for more? The guides go deeper:Token Approvals
The approval loop and the three funding locks.
Order Submission
Gas-free UX for your users: TetraFi carries the transaction.
Partial Fills
Fill what’s available now, refund the rest.
Multi-Token Trades
Multiple inputs and outputs in a single order.