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.
Path parameters
The unique identifier of the relayer
Request body
Response
Fee estimate retrieved successfully
Changes
Changed in 4 of the 18 revisions of this API.33
- ▲
added the pattern
^-?[0-9]+$to the request property///////request-property-pattern-added
- ▲
the
///////request property type changed fromintegertostring, and format fromint64to no formatrequest-property-type-changed
- ▲
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
added the optional property
/////to the response with the statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 43 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲