Sponsoring transactions is only available for the Pro and Enterprise plans.
Sponsoring types
depo.to supports the following types of sponsoring:ALL: depo.to fetches the current quote for the swap to the target asset and ensures the user receives the same amount, without slippage, price impact, gas fees, or bridging fees. All fees are deducted from the sponsor account.STABLES: depo.to credits stablecoins in the same currency group in a 1:1 ratio.SAME_ASSET: depo.to credits the same asset in a 1:1 ratio.NONE: Default option where none of the fees are sponsored
Examples
| Sponsoring type | Example | Your costs |
|---|---|---|
ALL | ETH to wBTC: ETH trades at $5000 and BTC at $100,000. User deposits 1 ETH and receives eaxctly 0.02 BTC. | You pay gas fees, bridging fees, swap fees, and price impact/slippage. |
STABLES | USDC to USDT: User deposits 1 USDC and receives 1 USDT. | You pay gas fees, bridging fees, swap fees, and price impact/slippage. |
SAME_ASSET | USDC to USDC: User deposits 1 USDC and receives 1 USDC. | You pay gas fees, bridging fees, swap fees (where applicable), and price impact/slippage. |
NONE | User pays all fees. | None. |
Sponsor account
Sponsor account is the account that will be used to pay for the fees. You can see the balance of your sponsor account in the dashboard or by calling theGET /wallet/balance endpoint.
To top up the sponsor account, deposit funds to the sponsor account address. You can see the address of your sponsor account in the dashboard or by calling the GET /wallet/balance endpoint.
If the balance of the sponsor account is not enough to cover the fees, the target address will receive an amount deducted by the remaining fees.
Creating sponsored address groups
When calling thePOST /wallet/create endpoint, you can specify the sponsoring type using the sponsoring parameter.
Modifying sponsoring Settings
You can modify the sponsoring settings of an address group by calling thePUT /wallet/{addressGroupId} endpoint.
