Insufficent Funds with available balance

+1 vote

Using Multichain 1.0.7

I'm getting an error saying that "Insufficient funds" trying to transfer all the funds from a given address when I the balance display says the contrary.

{"method":"getmultibalances","params":["159NLhBMgTUSRjcedMMtpiA7nzsfJeEY5De4bS","USD"],"id":"19220569-1547208329","chain_name":"sandboxChain"}

{
    "159NLhBMgTUSRjcedMMtpiA7nzsfJeEY5De4bS" : [
        {
            "name" : "USD",
            "assetref" : "433-267-19082",
            "qty" : 99998994219.33000183
        }
    ],
    "total" : [
        {
            "name" : "USD",
            "assetref" : "433-267-19082",
            "qty" : 99998994219.33000183
        }
    ]
}

sendassetfrom 159NLhBMgTUSRjcedMMtpiA7nzsfJeEY5De4bS 1LaSRFuxvoi7PgoStkTJU4ZVYkfZ14Z7K955HW USD 99998994218.33

error code: -6
error message:
Insufficient funds

 

The "USD" asset was created with the following settings:

  • Raw units issued 9999999999900
  • Display quantity 99999999999.00
Also using the API method "getmultibalances" displays the balance with a different precision (decimals). Is this correct ?
 
Thank you.
asked Jan 11, 2019 by jgodinho
Are you using a native currency on your blockchain and transaction fees? If so the insufficient funds could be due to not having enough native currency.
I confirm that we are not using native asset and fees. This address only had 1 previous transaction to receive the amount stated before in the getmultibalances where I stated more than 2 decimals places

1 Answer

0 votes
OK, if this problem is persisting we would like to take a look. Please stop the node, zip up its blockchain directory, and send it to multichain dot debug at gmail dot com.
answered Jan 14, 2019 by MultiChain
...