Syntax error in grantfrom RPC request. [closed]

+1 vote

I'm getting the error "value is type str, expected real" on the following JSON RPC request. Can anyone please give me the proper syntax for this request?

{
    "jsonrpc": "2.0",
    "method": "grantfrom",
    "params": ["1Mdqxe9WaiQLKnCorD7Ncu2VxZq9Cefn9qPKR4","1YBxEnuoqCwXr8RunFTHEUVuVPGwQXKn6LqaGE","send,receive",0,"","",0,-1]
}

 

closed with the note: Found a working syntax.
asked Jan 19, 2017 by Cypher
closed Jan 19, 2017 by Cypher
Found a working syntax. Closing the question.

{
    "jsonrpc": "2.0",
    "method":"grantfrom",
    "params":["1Mdqxe9WaiQLKnCorD7Ncu2VxZq9Cefn9qPKR4","13A3sF7yaeczL2esy6NfwrAhT8kqhPRShfvNzF","send,receive",0,0,-1,"",""],
    "id":1,
    "chain_name":"demochain"
}
...