0 Members and 1 Guest are viewing this topic.
curl --data '{"jsonrpc": "2.0", "method": "call", "params": [0,"suggest_brain_key",[]], "id": 2}' http://127.0.0.1:8092/rpc
My goal is to suggest_brain_key using curl. Help was an example that I expected would function similar. Thus far I've been issuing curl requests to the witness node socket. I've not thought to query the CLI wallet socket. Does each app have a distinct set of functions to return queries for? I have made the assumption that Help, Info, About and suggest_brain_key were supplied by the witness node.
curl --data '{"jsonrpc":"2.0","method":"call", "params":[0, "help", []],"id":0}' http://localhost:8092/rpc
curl --data '{"jsonrpc": "2.0", "method": "call", "params": [0,"get_dynamic_global_properties",[]], "id": 2}' http://127.0.0.1:8090/rpc
curl --data '{"jsonrpc": "2.0", "method": "call", "params": [0,"help",[]], "id": 2}' http://127.0.0.1:8090/rpc