Sponsor Transaction
API Reference
Sponsor Transaction
Submit a transaction for sponsorship and submission.
POST
Sponsor Transaction
Wraps the provided transaction XDR in a fee-bump envelope and submits it to the Stellar network.
View on GitHub
Request Body
The base64-encoded XDR of the signed transaction or fee-bump transaction to sponsor.
The target network. Must be either
testnet or mainnet.Response Fields
The transaction hash generated by the Stellar network.
The total network fee paid by the relay in stroops.
The sequence number of the ledger that included the transaction.
The base64-encoded result XDR returned by the network.
Error Codes
| Code | Description |
|---|---|
VALIDATION_ERROR | The provided XDR is malformed or invalid. |
INSUFFICIENT_CREDITS | Your project balance is too low to cover the fee. |
SUBMISSION_FAILED | The network rejected the transaction (e.g., tx_bad_seq). |
RATE_LIMIT_EXCEEDED | You have exceeded your project’s rate limit. |