Invalid amount while sending, how to initialize amount ???

+1 vote
>multichain-cli mychain send "1bC2V8G3MPFogVpHcHQDUGuqreA48ZhEh7dM1c" 1
{"method":"send","params":["1bC2V8G3MPFogVpHcHQDUGuqreA48ZhEh7dM1c",1],"id":1,"chain_name":"mychain"}

error code: -8
error message:
Invalid amount
asked Jul 18, 2018 by manikanta5a3

1 Answer

+1 vote

Have you created your own assets?

Assuming you have an asset called apple on your chain the command would be...

send 1bC2V8G3MPFogVpHcHQDUGuqreA48ZhEh7dM1c '{"apple":1}'

answered Jul 18, 2018 by John
tqqq @john, but it was't worked...
...