SwapFailed
Failed swap: a coin did not have enough balance. Only gas was spent: 0.00013SUI.
Failed at command 21
A coin did not have enough balance. Failed at command 21.
- Error kind
- INSUFFICIENT_COIN_BALANCE
Net result for sender, gas only
- Sender
- 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known
- Time
- 2026-11-03 14:43:14 UTC
- Gas
- 0.00013SUI$0.00012
- Checkpoint
- 341,235,747
- Protocols
- TurbosDeepBooksuiswap
- Digest
- JBifUi…7dys
What happened11 steps
- 1Verified oracle data via Turbos.Command 0
- 2Withdrew funds from the address balance, split coins (4 commands).Commands 1 to 4
- 3Called DeepBook (balance_manager::
deposit).Command 5 - 4Sent the SUI to the address balance of 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known.Command 6
- 5Placed a market order on DeepBookCommands 7 to 10
- 6Split coins, merged coins, grouped coins (4 commands).Commands 11 to 14
- 7Swapped coins through Turbos (swap_router::
swap_b_a_with_return_).Command 15 - 8Grouped coins (3 commands).Commands 16 to 18
- 9Called suiswap (pool::
do_swap_y_to_x_direct).Command 19 - 10Split coins, merged coins (3 commands).Commands 20 to 22
- 11Sent the SUI to the address balance of 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known.Command 23
Balance changes1
- 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone knownSender
- -0.00013SUI-$0.00012
Details
- Epoch
- 1,300
- Position in checkpoint
- tx 33
- Signature
- Signed with Ed25519 by 0x475a…dc1b
- Programmable
- 24 commands, 22 inputs
- Expires
- Never
- Size
- 2,860 bytes
Commands24
- 0
Updated oracle data on Turbos (pool::
get_pool_sqrt_price). Turbos0xa5a0…1e64::
pool:: get_pool_sqrt_price<COIN, USDC, FEE100BPS> Turbos USDT/USDC 0.01% poolu128to 1 - 1
Ran u128::
checked_sub from the Move standard library. Move Stdlib0x0000…0001::
u128:: checked_sub 18,437,802,137,454,095,3630Result 0Option<u128>to 2 - 2
Ran option::
destroy_some from the Move standard library. Move Stdlib0x0000…0001::
option:: destroy_some<u128> 1Result 1u128unused - 3
Withdrew 3.1006SUI from the sender's address balance.
Sui Framework0x0000…0002::
coin:: redeem_funds<SUI> 3.1006 SUI from the sender's address balanceCoin<SUI>to 4, 6 - 4
Split 3.1SUI off Result 3.
SplitCoins
3Result 33.1 SUI3.1 SUIto 5 - 5
Called balance_manager::
deposit in DeepBook. DeepBook@deepbook/core::
balance_manager:: deposit<SUI> BalanceManager4.0Result 4.0 - 6
Sent the SUI to the address balance of 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known.
Sui Framework0x0000…0002::
coin:: send_funds<SUI> 3Result 30x475a…dc1b - 7
Called balance_manager::
generate_proof_as_owner in DeepBook. DeepBook@deepbook/core::
balance_manager:: generate_proof_as_owner BalanceManagerTradeProofto 9 - 8
Called constants::
self_matching_allowed in DeepBook. DeepBook@deepbook/core::
constants:: self_matching_allowed u8to 9 - 9
Called pool::
place_market_order in DeepBook. DeepBook@deepbook/core::
pool:: place_market_order<SUI, USDC> DeepBook SUI/USDC poolBalanceManager7Result 708Result 83,100,000,000falsetrueClockOrderInfounused - 10
Called balance_manager::
withdraw_all in DeepBook; returns USDC. DeepBook@deepbook/core::
balance_manager:: withdraw_all<USDC> BalanceManagerCoin<USDC>to 11, 12, 13, 14 - 11
Split 2.7755USDC off Result 10.
SplitCoins
10Result 102.7755 USDC2.7755 USDCto 12 - 12
Merged 1 coin into Result 10.
MergeCoins
10Result 1011.0Result 11.0 - 13
Read a coin amount.
Sui Framework0x0000…0002::
coin:: value<USDC> 10Result 10u64to 15 - 14
Made a list of 1 items.
MakeMoveVec
10Result 10vector<Coin<USDC>>to 15 - 15
Called swap_router::
swap_b_a_with_return_ in Turbos; returns USDT and USDC. Turbos0xa5a0…1e64::
swap_router:: swap_b_a_with_return_<COIN, USDC, FEE100BPS> Turbos USDT/USDC 0.01% pool14Result 1413Result 132,778,30618,805,428,671,225,682,097trueSystemu64 maxClockVersioned15.0Coin<COIN>to 17, 1815.1Coin<USDC>to 16 - 16
Ran coin::
destroy_zero from the Sui framework. Sui Framework0x0000…0002::
coin:: destroy_zero<USDC> 15.1Result 15.1 - 17
Read a coin amount.
Sui Framework0x0000…0002::
coin:: value<COIN> 15.0Result 15.0u64to 19 - 18
Made a list of 1 items.
MakeMoveVec
15.0Result 15.0vector<Coin<COIN>>to 19 - 19
Called pool::
do_swap_y_to_x_direct in suiswap; returns USDT and SUI. suiswap0x361d…7ffc::
pool:: do_swap_y_to_x_direct<SUI, COIN> suiswap SUI/USDT pool18Result 1817Result 17Clock19.0Coin<COIN>to 2019.1Coin<SUI>to 21, 22, 23 - 20
Ran coin::
destroy_zero from the Sui framework. Sui Framework0x0000…0002::
coin:: destroy_zero<COIN> 19.0Result 19.0 - 21
Split 3.1008SUI off Result 19.1.Aborted here
SplitCoins
19.1Result 19.13.1008 SUI3.1008 SUIto 22 - 22
Merged 1 coin into Result 19.1.Not run
MergeCoins
19.1Result 19.121.0Result 21.0 - 23
Sent the SUI to the address balance of 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known.Not run
Sui Framework0x0000…0002::
coin:: send_funds<SUI> 19.1Result 19.10x475a…dc1b
Inputs22Already shown inline above. Full list with kinds and versions.
| # | Value | Kind | Used by |
|---|---|---|---|
| 0 | Turbos USDT/USDC 0.01% poolTurbos USDT/USDC 0.01% pool0x770010854059edf1dd3d49a97f3054c39b870ec708fe2f408e30a8ef4724caefKindPoolSourcetide registryPool<COIN, USDC, FEE100BPS> | Shared, mutablev373457540 | 0, 15 |
| 1 | 18,437,802,137,454,095,363 | Pure u128 | 1 |
| 2 | 3.1006 SUI from the sender's address balance | funds withdrawal | 3 |
| 3 | BalanceManagerBalanceManager0xe52868daf2aa1bd8d8baf36158beb3351d6cd96ba51c361fde197737cd60c70fKindPoolSourcetide registryBalanceManager | Shared, mutablev1 | 5, 7, 9, 10 |
| 4 | 3.1 SUI | Pure u64 | 4 |
| 5 | 0x475a…dc1b | Pure address | 6 |
| 6 | DeepBook SUI/USDC poolDeepBook SUI/USDC pool0xe05dafb5133bcffb8d59f4e12465dc0e9faeaa05e3e342a08fe135800e3e4407KindPoolSourcetide registryPool<SUI, USDC> | Shared, mutablev389750322 | 9 |
| 7 | ClockClock0x0000000000000000000000000000000000000000000000000000000000000006KindPoolSourcetide registryClock | Shared, read onlyv1 | 9, 15, 19 |
| 8 | 3,100,000,000 | Pure u64 | 9 |
| 9 | 0 | Pure u64 | 9 |
| 10 | false | Pure bool | 9 |
| 11 | true | Pure bool | 9 |
| 12 | 2.7755 USDC | Pure u64 | 11 |
| 13 | 2,778,306 | Pure u64 | 15 |
| 14 | 18,805,428,671,225,682,097 | Pure u128 | 15 |
| 15 | true | Pure bool | 15 |
| 16 | System | Pure address | 15 |
| 17 | u64 max | Pure u64 | 15 |
| 18 | VersionedVersioned0xf1cf0e81048df168ebeb1b8030fad24b3e0b53ae827c25053fff0779c1445b6fKindPoolSourcetide registryVersioned | Shared, read onlyv1621135 | 15 |
| 19 | suiswap SUI/USDT poolsuiswap SUI/USDT pool0x86cd3d51e8d8d59674c3efae0454db1eceffb0afab896e3d0442d39949d59790KindPoolSourcetide registryPool<SUI, COIN> | Shared, mutablev2248964 | 19 |
| 20 | 3.1008 SUI | Pure u64 | 21 |
| 21 | 0x475a…dc1b | Pure address | 23 |
Object changes4
Turbos USDT/USDC 0.01% poolTurbos USDT/USDC 0.01% pool0x770010854059edf1dd3d49a97f3054c39b870ec708fe2f408e30a8ef4724caefKindPoolSourcetide registryPool<COIN, USDC, FEE100BPS>ChangedSharedv1070330089 to v1070330098
suiswap SUI/USDT poolsuiswap SUI/USDT pool0x86cd3d51e8d8d59674c3efae0454db1eceffb0afab896e3d0442d39949d59790KindPoolSourcetide registryPool<SUI, COIN>ChangedSharedv1070330089 to v1070330098
DeepBook SUI/USDC poolDeepBook SUI/USDC pool0xe05dafb5133bcffb8d59f4e12465dc0e9faeaa05e3e342a08fe135800e3e4407KindPoolSourcetide registryPool<SUI, USDC>ChangedSharedv1070330097 to v1070330098
BalanceManagerBalanceManager0xe52868daf2aa1bd8d8baf36158beb3351d6cd96ba51c361fde197737cd60c70fKindPoolSourcetide registryBalanceManagerChangedSharedv1070330048 to v1070330098
Events0
No events, the transaction was reverted
Gas
Paid
0.000129763SUI
$0.00012
- Computation
- 0.000128SUI
- Storage
- 0.017632SUI
- Storage rebate
- 0.017630237SUIto0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known
- Kept by storage fund
- 0.000001763SUI
- Budget
- 0.02SUI0.6% used
- Gas price
- 128 MIST1.28x reference
- Paid by
- 0x475a…dc1bAddress0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1bLabelNone known
Raw JSON
/v1/tx/JBifUioSuoAV5pY7pTYhQVLG969GLzWJsS6w1G5U7dys?raw=1{
"digest": "JBifUioSuoAV5pY7pTYhQVLG969GLzWJsS6w1G5U7dys",
"kind": "programmable",
"classification": "swap",
"classLabel": "Swap",
"status": {
"ok": false,
"failure": {
"kind": "INSUFFICIENT_COIN_BALANCE",
"command": 21,
"sentence": "A coin did not have enough balance. Failed at command 21.",
"errorName": null,
"line": null
}
},
"sender": {
"address": "0x475af7c4a6ecdafd68a5bc58b66696e2ef7139fbe4125dc17ba1923f9cd6dc1b",
"short": "0x475a…dc1b",
"suins": null,
"label": null,
"display": "0x475a…dc1b"
},
"sponsor": null,
"checkpoint": 341235747,
"checkpointIndex": 32,
"epoch": 1300,
"timestamp": {
"ms": 1793716994905,
"iso": "2026-11-03T14:43:14.905Z"
},
"protocols": [
{
"project": {
"id": "turbos",
"name": "Turbos",
"category": "DEX",
"url": "https://turbos.finance",
"logoUrl": null
},
"packages": [
"0xa5a0c25c79e428eba04fb98b3fb2a34db45ab26d4c8faf0d7e39d66a63891e64"
]
},
{
"project": {
"id": "deepbook",
"name": "DeepBook",
"category": "Order book",
"url": "https://deepbook.tech",
"logoUrl": null
},
"packages": [
"0xbca0cefe720330e7bb4f2283438b68de6a0e656688db4ac90d61e71fe6151fe8"
]
},
{
"project": {
"id": "suiswap",
"name": "suiswap",
"category": "DEX",