Updates to the Agora Public API.
Convert Stablecoins and the Quotes API (Beta)
You can now let your users convert between AUSD and USDC or USDT without leaving your product. Convert Stablecoins is in a closed beta; contact your Agora representative to request access.
The flow is non-custodial. You request a quote, your user’s wallet executes its steps onchain, and you track the conversion through the Transactions API. Funds move directly between your user and the provider filling the quote, never through Agora. The Convert Stablecoins guide covers the model, and the Quickstart walks through one conversion end to end.
Quotes
POST /v0/quotes: quote a same-chain conversion. A quote returns both amounts, a USDfeesbreakdown, the orderedexecutionStepsyour user’s wallet signs, and anexpiresAt. The deposit must land onchain by then, 180 seconds after the quote is priced.GET /v0/quotes/{quoteId}: retrieve a quote exactly as it was returned.
Transactions
Each conversion appears in GET /v0/transactions and GET /v0/transactions/{txnId} as type: "tokenConversion". Unlike other types, it moves through pending and submitted before ending settled, refunded, or failed, and a failed conversion carries failureReason and refundFailureReason.
USDT is available on Ethereum only. See Support for the full chain and stablecoin matrix.

