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.