v18

latestOpenAPI 3.1.0AGPL-3.0 licenseraw.githubusercontent.com2026-08-0143162294.8 KB
Relayers

Estimates fees for a sponsored (gasless) transaction.

This endpoint provides fee estimation for transactions where the relayer will pay the network fees on behalf of the user. The user pays fees in a token of their choice (e.g., USDC) instead of the native network currency (e.g., XLM for Stellar).

The endpoint accepts either a pre-built transaction XDR or a set of operations to build a transaction from. It returns the estimated fee amount in the specified fee token and the conversion rate from the native currency.

post/api/v1/relayers/{relayer_id}/transactions/sponsored/quote

Path parameters

relayer_idstring required

The unique identifier of the relayer

Request body

OR

Response

Fee estimate retrieved successfully

errorstring
successboolean required