failed to execute message; message index: 0: spendable balance 4386943uatom is smaller than 4390000uatom: insufficient funds
{
"wasm": {
"contract": "inj15fag9p2389wun8z33yr3427vp5fvhyg952vsxe",
"msg": {
"swap_and_action": {
"user_swap": {
"swap_exact_asset_in": {
"swap_venue_name": "injective-hallswap",
"operations": [
{
"pool": "inj1x28h5fl8njerddxltt40f7s0weawduetfxu9n4",
"denom_in": "ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9",
"denom_out": "peggy0xdAC17F958D2ee523a2206206994597C13D831ec7",
"interface": "eyJoZWxpeCI6eyJtYXJrZXRfaWQiOiIweDA1MTFkZGM0ZTY1ODZmM2JmZTFhY2IyZGQ5MDVmOGI4YTgyYzk3ZTFlZGFlZjY1NGIxMmNhN2U2MDMxY2EwZmEifX0="
},
{
"pool": "inj1c95v0zr7ah777qn05sqwfnd03le4f40rucs0dp",
"denom_in": "peggy0xdAC17F958D2ee523a2206206994597C13D831ec7",
"denom_out": "inj"
}
]
}
},
"min_asset": {
"native": {
"denom": "inj",
"amount": "1411488494279570386"
}
},
"timeout_timestamp": 1759957828038305800,
"post_swap_action": {
"transfer": {
"to_address": "inj1n5m9n6kjdn66tm2ntsyfmp2pk75fqzykw9epjq"
}
},
"affiliates": [
{
"basis_points_fee": "60",
"address": "inj1w80tv0lqsyf4gzd8l837hnhjmfyvrr4znyc5a2"
},
{
"basis_points_fee": "15",
"address": "inj1wp8qds5jesaqcja8rrr9m7cn6fld6dkp0a7m4f"
}
]
}
}
}
}{
"height": "27878974",
"txhash": "1B3A451A86EEDF4DA95F69686FB829E893D98878FD7BA3C3A87AFD949EA8C99D",
"codespace": "sdk",
"code": 5,
"data": "",
"raw_log": "failed to execute message; message index: 0: spendable balance 4386943uatom is smaller than 4390000uatom: insufficient funds",
"logs": [],
"info": "",
"gas_wanted": "1800000",
"gas_used": "104212",
"tx": {
"@type": "/cosmos.tx.v1beta1.Tx",
"body": {
"messages": [
{
"@type": "/ibc.applications.transfer.v1.MsgTransfer",
"source_port": "transfer",
"source_channel": "channel-220",
"token": {
"denom": "uatom",
"amount": "4390000"
},
"sender": "cosmos1ec0n93tgnexgwmztjfhkm0jxr494fm4krlxm83",
"receiver": "inj15fag9p2389wun8z33yr3427vp5fvhyg952vsxe",
"timeout_height": {
"revision_number": "0",
"revision_height": "0"
},
"timeout_timestamp": "1759957828038284000",
"memo": "{\"wasm\":{\"contract\":\"inj15fag9p2389wun8z33yr3427vp5fvhyg952vsxe\",\"msg\":{\"swap_an… (1,035 chars)",
"encoding": ""
}
],
"memo": "",
"timeout_height": "0",
"unordered": false,
"timeout_timestamp": null,
"extension_options": [],
"non_critical_extension_options": []
},
"auth_info": {
"signer_infos": [
{
"public_key": {
"@type": "/cosmos.crypto.secp256k1.PubKey",
"key": "A+92J4y+ddyA5vYUkS+YRxhvf/S18+bggiRLp4N0Y9Oc"
},
"mode_info": {
"single": {
"mode": "SIGN_MODE_DIRECT"
}
},
"sequence": "69"
}
],
"fee": {
"amount": [
{
"denom": "uatom",
"amount": "18000"
}
],
"gas_limit": "1800000",
"payer": "",
"granter": ""
},
"tip": null
},
"signatures": [
"I2itftlBgFdOuXKOX1B1jHkPKVficenjzjLYszBWe5BbiZTDHnHnKgk99mDyKahkRFgT3641PMYKj10hu2lvmQ=="
]
},
"timestamp": "2025-10-08T21:05:32Z",
"events": [
{
"type": "tx",
"attributes": [
{
"key": "acc_seq",
"value": "cosmos1ec0n93tgnexgwmztjfhkm0jxr494fm4krlxm83/69",
"index": true
}
]
},
{
"type": "tx",
"attributes": [
{
"key": "signature",
"value": "I2itftlBgFdOuXKOX1B1jHkPKVficenjzjLYszBWe5BbiZTDHnHnKgk99mDyKahkRFgT3641PMYKj10hu2lvmQ==",
"index": true
}
]
},
{
"type": "coin_spent",
"attributes": [
{
"key": "spender",
"value": "cosmos1ec0n93tgnexgwmztjfhkm0jxr494fm4krlxm83",
"index": true
},
{
"key": "amount",
"value": "18000uatom",
"index": true
}
]
},
{
"type": "coin_received",
"attributes": [
{
"key": "receiver",
"value": "cosmos13pxn9n3qw79e03844rdadagmg0nshmwf7qvuye",
"index": true
},
{
"key": "amount",
"value": "18000uatom",
"index": true
}
]
},
{
"type": "transfer",
"attributes": [
{
"key": "recipient",
"value": "cosmos13pxn9n3qw79e03844rdadagmg0nshmwf7qvuye",
"index": true
},
{
"key": "sender",
"value": "cosmos1ec0n93tgnexgwmztjfhkm0jxr494fm4krlxm83",
"index": true
},
{
"key": "amount",
"value": "18000uatom",
"index": true
}
]
},
{
"type": "message",
"attributes": [
{
"key": "sender",
"value": "cosmos1ec0n93tgnexgwmztjfhkm0jxr494fm4krlxm83",
"index": true
}
]
}
]
}