I'm trying to run a simple Curl command to transfer an asset between two addresses; here the command
sudo curl -s --user multichainrpc:PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"voting-step-1", "method": "sendassetfrom", "params": ["17vgTofeu9MM3ogktLJbM1Arj9zMEdgzAX9Cgw","18px5yMFWZ33FDeBhHtUQ4ZvMMZacDB9rakgjN", "token", 1] }' -H "content-type: text/plain;" http://127.0.0.1:7442/
The address 17vgTofeu9MM3ogktLJbM1Arj9zMEdgzAX9Cgw has enough assets; here's its getaddressbalances:
[
{
"name" : "token",
"assetref" : "36-265-2654",
"qty" : 9998.00000000
}
]
And the second address 18px5yMFWZ33FDeBhHtUQ4ZvMMZacDB9rakgjN has no assets.
I get the following error and there's no resource on the Internet explaining why I'm getting this error.
{"result":null,"error":{"code":-4,"message":"Change address not found"},"id":"voting-step-1"}
Thanks,