Skip to main content
POST https://api.trustware.io/api/v1/routes/route Builds the full transaction payload for signing and broadcasting. Call this after the user confirms the quote. Trustware creates an intent record internally so the transaction can be tracked from receipt submission through final settlement. Pass a metadata object with any fields you need echoed back in all subsequent status responses — user ID, withdrawal ID, fiat destination, or any other reference data.

Request

Response

Token approvals

If the source token is an ERC-20, the user must approve the route’s spender before broadcasting. The spender is route.execution.transaction.to — a provider contract (Squid, LiFi, etc.), not a Trustware contract. Re-quoting can change the selected provider, which changes the spender. In that case the user will need a fresh approval. Check current allowance against the latest to address with GET /allowance before broadcasting.