How an escrow swap works
An escrow swap is a two-sided deal: each side puts in its own token and the smart contract exchanges them once the parties agree. The funds stay under the contract until the swap is approved
The swap step by step
From creating the deal to withdrawing — five steps
Two sides agree to exchange two tokens; a guarantor can be added as a third party
Two votes out of three
Choose each party's vote and see what happens to the swap
- Party ANo voteApprovedRejected
- Party BNo voteApprovedRejected
- GuarantorNo voteApprovedRejected
The funds await a decision
Until two matching votes, the swap does not go through — no one can take the funds
What to keep in mind
The rules the swap contract enforces
No counterparty risk
Both tokens stay locked in the smart contract until both sides agree — no one can grab the other's funds or vanish with the money
A fair rate
The ratio comes from the amounts the sides deposit themselves: no oracles, no external quotes, nothing to manipulate
Two of three decide
The swap only goes through on two approvals out of three; the guarantor can settle a dispute but can never take the funds
Transparent pricing
The fee and minimum are set up front for each token — no hidden charges at the moment of the swap
One contract, many swaps
After withdrawal the same contract is refilled for a new swap — no paying to deploy every time
Everything in view
Every step shows up in the deal log and arrives as a notification — you always know what's happening
Swaps from your system
The business API creates swaps and tracks them from your app. Parties still sign their actions in their own wallets
- The API key is issued in the cabinet profile
- Creating a swap, votes, depositing funds and withdrawal
- Operation statuses and the swap event feed
Create an account to see the API documentation
POST /api/v4/contracts
{
"package_id": 12,
"network": "tron_mainnet",
"sender": "TJKD…7QaE",
"receiver": "TYbT…9kLs",
"guarantor": "TXr4…m2Pd",
"token_id": 0,
"token_b_id": 1,
"deal_id": "3d2a1f6e-…",
"signer": "TJKD…7QaE",
"signature": "0x…"
}Frequently asked questions
No. Your account is your wallet: you sign in with a signature, without a password or email
TRON and Ethereum. You choose the wallet for the network you need when connecting
No one but the smart contract. The service is non-custodial and has no access to your keys
The votes decide: two out of three are needed. The guarantor is a third equal vote; it does not distribute the funds and withdraws nothing itself
The network charges its own transaction fee. A deal is drawn from a prepaid package, and the package itself sets the service fee rate; it is withheld on withdrawal
Yes: two rejections open the withdrawal to the sender. While there are not enough votes, the funds stay locked by the contract
Ready to start?
Connect your wallet to sign in and work with deals. Wallet login — no password or email: your address is your account