Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Swap

This feature requires activation. Please contact the Safeheron Support team.

What is Swap?

Swap is Safeheron's stablecoin exchange service. It lets you move stablecoins across chains and convert between stablecoins on the same chain, without leaving self-custody.

Throughout a swap, your assets stay in your own MPC wallet, outgoing transactions require team approval, and the swapped assets are returned to the wallet that initiated the swap.

When do you need Swap?

Institutions run into this routinely: funds arrive on one chain but have to be paid out on another, or USDT comes in when USDC needs to go out. Until now there have generally been two ways to handle it.

Swap on an exchange: settlement time depends on the exchange's risk controls and hot wallet, making it hard to commit to a timeline for your downstream; absorbing that uncertainty means parking positions on the exchange year-round; and while the swap is in progress, your assets sit in the exchange's custody.

Do it yourself through DeFi: a single private key operated by a single person, with no approval controls; multiple steps and repeated token approvals, where one spoofed site or one malicious contract is enough to lose funds; and no approval records or reconciliation trail afterwards.

Swap builds the capability into your self-custody setup: you state what you want — convert A into B — and the system handles routing, token approval and bridging, while MPC custody, multi-party approval and a complete audit trail stay in place.

Supported scope

Type
Details
Provider

Cross-chain transfer

USDT between Ethereum, Tron and Solana

USDT0

Same-chain swap

USDT and USDC (within Ethereum or Solana)

OKX Dex Aggregator

Supported chains and assets: Ethereum (USDT, USDC), Solana (USDT, USDC), Tron (USDT).

Note: Bridging and swapping cannot yet be completed in a single order. To convert USDT on one chain into USDC on another, do it in two steps: bridge first, then swap on the target chain.

How to use Swap

To use Swap, go to Web Console > Apps > Swap.

💡 Can't find this feature? It requires activation — please contact the Safeheron Support team.

Before you start

Make sure the following are in place:

Configure a Swap policy: the policy defines which swap directions are allowed, what the limits are, and who approves. Any swap that doesn't match a policy is rejected outright. See Swap Policy.

Sign the service agreement: the Swap service agreement appears the first time a swap is initiated. It must be signed by a member with transaction permissions, and will not appear again once signed.

Keep native tokens available: network fees and cross-chain messaging fees are not deducted from the swap amount — they are paid separately in the source wallet's native token, so make sure the wallet holds enough.

Initiating a swap

The steps are as follows:

Enter the swap details: choose the asset wallet, the chain and asset you are paying from, the amount, and the chain and asset you want to receive. The swapped assets are automatically anchored back to that wallet — there is no destination address to enter, and none can be specified.

Review the quote and fees: the system shows the available provider and a live quote, refreshed every 10 seconds, with each fee itemized alongside the estimated amount you will receive.

Confirm the order: review the order summary, submit, and complete two-factor verification. The order is created with the status "Pending Approval".

Approve in the app: the approvers designated by the policy approve in the app under M-of-N rules. If any approver rejects, the swap is terminated.

Signing and settlement: after approval, the system re-validates the quote to confirm the deviation is within the slippage tolerance, then completes the on-chain token approval and transfer through MPC threshold signing. Once the target asset arrives, the order becomes "Completed".

Note: The app can only approve Swap orders. Swaps must be initiated from the Web Console.

Viewing swap records

All Swap orders appear in your transaction history. You can filter by transaction ID, wallet, asset, status and time, and download the results for reconciliation or audit.

FAQ

Q: How long does a swap take to settle?

A: Typically under 2 minutes from on-chain signing to the target asset arriving. This does not include approval, which depends on how quickly your team's approvers respond.

Q: Can the swapped assets be sent to a different wallet?

A: No. The assets always return to the wallet that initiated the swap. The destination is anchored by the system, there is no field to enter or select one, and the rule cannot be changed by any configuration.

Q: If a swap fails, are my funds affected?

A: No. An order can only be marked "Failed" while the funds are still in the source wallet. Once funds have left, the order can only be Completed, in transit, or pending investigation — it will never be marked failed out of nowhere. Likewise, an order is only marked "Completed" when the target asset has arrived; it is never marked complete while a cross-chain transfer is still in flight.

Q: What are the order statuses, and which ones can be canceled?

A: There are seven — Pending Approval, Under Approval, Executing, Completed, Partially Completed, Failed and Canceled. Orders can be canceled while Pending Approval or Under Approval; once Executing, they cannot. "Partially Completed" means some of the sub-transactions within the order succeeded and others failed. A rejected approval results in "Failed", not "Canceled".

Q: Why was my swap marked as failed?

A: Common reasons include: no Swap policy covers that swap direction; the swap hit a restriction in the policy; an approver rejected it; approval took so long that the re-validated quote exceeded the slippage tolerance; the source wallet did not hold enough native token to cover the network fee; or the on-chain transaction failed. The specific reason is shown in the order details.

Q: After a failed swap, the page says there is a residual allowance. Do I need to do anything?

A: When the token approval succeeds on-chain but the transfer fails, an unused allowance is left on-chain. You can revoke it yourself under Web Console > Management > Allowance, or leave it to be reused by a later swap in the same direction — the choice is yours, based on your own risk management requirements. See Allowance.

Q: Can swaps be initiated through the API?

A: Not at this time. Swaps must be initiated from the Web Console.

If you have any suggestions or run into any issues, please share them with the Safeheron Support team.

Last updated