Hi,
I've setup multichain, am using JSON-RPS, and am able to use basic APIs like getinfo, getaccountaddress, sendfrom using both JSON-RPC and command line client. However, I'm having issues using sendwithmetadatafrom.
I'm able to send 0 amount from one account to another using both JSON-RPC and CLI using sendfrom, but not using sendwithmetadatafrom. I get 500 using JSON-RPC, CLI gives following error - error: {"code":-4,"message":"Insufficient funds"}.
Following is the CLI command -
./multichain-cli <chain_name> sendwithmetadatafrom <from_address> <to_address> 0.0 0xA
What is the correct syntax for this command? What is the data type of metadata? Is it a single integer or an array of integers?