failed to execute message; message index: 0: spendable balance 8716376uosmo is smaller than 8749703uosmo: insufficient funds
{
"swap_and_action": {
"user_swap": {
"smart_swap_exact_asset_in": {
"swap_venue_name": "osmosis-poolmanager",
"routes": [
{
"offer_asset": {
"native": {
"denom": "uosmo",
"amount": "6999762"
}
},
"operations": [
{
"pool": "1100",
"denom_in": "uosmo",
"denom_out": "uion"
}
]
},
{
"offer_asset": {
"native": {
"denom": "uosmo",
"amount": "1749940"
}
},
"operations": [
{
"pool": "2",
"denom_in": "uosmo",
"denom_out": "uion"
}
]
}
]
}
},
"min_asset": {
"native": {
"denom": "uion",
"amount": "12874"
}
},
"timeout_timestamp": 1778347178806195500,
"post_swap_action": {
"transfer": {
"to_address": "osmo1va4qq2vve0nn2trtjerknpmnxwq5slgjuf9cq6"
}
},
"affiliates": [
{
"basis_points_fee": "57",
"address": "osmo1gy30axzt9djlqnykmmqdjn4z670ctxsyr97pvf"
},
{
"basis_points_fee": "18",
"address": "osmo14gf6xslwe9phn2z965t4dcu7vchhthfgv2lhyy"
}
]
}
}{
"height": "61259190",
"txhash": "4F95ACFB4A818587D9CCDD51099EED4D86C8D44693DC1E3EFF4D58EFE52A8FF0",
"codespace": "sdk",
"code": 5,
"data": "",
"raw_log": "failed to execute message; message index: 0: spendable balance 8716376uosmo is smaller than 8749703uosmo: insufficient funds",
"logs": [],
"info": "",
"gas_wanted": "925732",
"gas_used": "163190",
"tx": {
"@type": "/cosmos.tx.v1beta1.Tx",
"body": {
"messages": [
{
"@type": "/cosmwasm.wasm.v1.MsgExecuteContract",
"sender": "osmo1va4qq2vve0nn2trtjerknpmnxwq5slgjuf9cq6",
"contract": "osmo10a3k4hvk37cc4hnxctw4p95fhscd2z6h2rmx0aukc6rm8u9qqx9smfsh7u",
"msg": {
"swap_and_action": {
"user_swap": {
"smart_swap_exact_asset_in": {
"swap_venue_name": "osmosis-poolmanager",
"routes": [
{
"offer_asset": {
"native": {
"denom": "uosmo",
"amount": "6999762"
}
},
"operations": [
{
"pool": "1100",
"denom_in": "uosmo",
"denom_out": "uion"
}
]
},
{
"offer_asset": {
"native": {
"denom": "uosmo",
"amount": "1749940"
}
},
"operations": [
{
"pool": "2",
"denom_in": "uosmo",
"denom_out": "uion"
}
]
}
]
}
},
"min_asset": {
"native": {
"denom": "uion",
"amount": "12874"
}
},
"timeout_timestamp": 1778347178806195500,
"post_swap_action": {
"transfer": {
"to_address": "osmo1va4qq2vve0nn2trtjerknpmnxwq5slgjuf9cq6"
}
},
"affiliates": [
{
"basis_points_fee": "57",
"address": "osmo1gy30axzt9djlqnykmmqdjn4z670ctxsyr97pvf"
},
{
"basis_points_fee": "18",
"address": "osmo14gf6xslwe9phn2z965t4dcu7vchhthfgv2lhyy"
}
]
}
},
"funds": [
{
"denom": "uosmo",
"amount": "8749703"
}
]
}
],
"memo": "",
"timeout_height": "0",
"extension_options": [],
"non_critical_extension_options": []
},
"auth_info": {
"signer_infos": [
{
"public_key": {
"@type": "/cosmos.crypto.secp256k1.PubKey",
"key": "AxlmWnmovm3AytFtSG4yWBedxflb112IgWhz6FXxz5cV"
},
"mode_info": {
"single": {
"mode": "SIGN_MODE_LEGACY_AMINO_JSON"
}
},
"sequence": "39"
}
],
"fee": {
"amount": [
{
"denom": "uosmo",
"amount": "33327"
}
],
"gas_limit": "925732",
"payer": "",
"granter": ""
},
"tip": null
},
"signatures": [
"LCpgmDfsk0lHaP8AxS8G6pCz8fohX4hMy89qDsMwnYkfql49603TFSSBWQKUEKomLKPew2he8y5HA1GCDBLaEA=="
]
},
"timestamp": "2026-05-09T17:14:51Z",
"events": [
{
"type": "coin_spent",
"attributes": [
{
"key": "spender",
"value": "osmo1va4qq2vve0nn2trtjerknpmnxwq5slgjuf9cq6",
"index": true
},
{
"key": "amount",
"value": "33327uosmo",
"index": true
}
]
},
{
"type": "coin_received",
"attributes": [
{
"key": "receiver",
"value": "osmo17xpfvakm2amg962yls6f84z3kell8c5lczssa0",
"index": true
},
{
"key": "amount",
"value": "33327uosmo",
"index": true
}
]
},
{
"type": "transfer",
"attributes": [
{
"key": "recipient",
"value": "osmo17xpfvakm2amg962yls6f84z3kell8c5lczssa0",
"index": true
},
{
"key": "sender",
"value": "osmo1va4qq2vve0nn2trtjerknpmnxwq5slgjuf9cq6",
"index": true
},
{
"key": "amount",
"value": "33327uosmo",
"index": true
}
]
},
{
"type": "message",
"attributes": [
{
"key": "sender",
"value": "osmo1va4qq2vve0nn2trtjerknpmnxwq5slgjuf9cq6",
"index": true
}
]
},
{
"type": "tx",
"attributes": [
{
"key": "fee",
"value": "33327uosmo",
"index": true
}
]
},
{
"type": "tx",
"attributes": [
{
"key": "acc_seq",
"value": "osmo1va4qq2vve0nn2trtjerknpmnxwq5slgjuf9cq6/39",
"index": true
}
]
},
{
"type": "tx",
"attributes": [
{
"key": "signature",
"value": "LCpgmDfsk0lHaP8AxS8G6pCz8fohX4hMy89qDsMwnYkfql49603TFSSBWQKUEKomLKPew2he8y5HA1GCDBLaEA==",
"index": true
}
]
}
]
}