FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Demo Request
Other
TEXT MESSAGE
0/300
⚡ We welcome businesses to test our enterprise-grade service
Method: POST thetacli.NewKey
Method not allowed
该API创建一个新帐户(即私钥/addres对),并在〜/.thetacli/keys/keys/egenpted/默认情况下对私钥进行加密。
password
- 细绳
新帐户的密码。
curl --location --request POST 'https://theta.getblock.io/mainnet/' \ --header 'x-api-key: YOUR-API-KEY' \ --header 'Content-Type: application/json' \ --data-raw '{"jsonrpc": "2.0", "method": "thetacli.NewKey", "params": {}, "id": "getblock.io"}'
{ "result": "null", "id": "getblock.io", "status_code": 405, "message": "Method not allowed" }