Open caetanix opened 3 years ago
There is another parameter required, specifying the crypto type (1 = SR25519 (default), 2 = ED25519)
So the body would be something like:
{"jsonrpc":"2.0","method":"keypair_create","params":[12,1],"id":6}
For use-case examples I would recommend the example GUI: https://github.com/polkascan/substrate-interface-gui/
Or the repos that contains all the elements: https://github.com/polkascan/substrate-interface
when i run some rpc calls give this error... this an example
{ "jsonrpc": "2.0", "method": "keypair_create", "params": [12], "id": 1 }
{ "error": { "code": -999, "message": "Not enough parameters provided" }, "id": 1 }