theta

Theta (THETA)

Method: POST thetacli.LockKey

dropdown

POST thetacli.LockKey

Method not allowed

This API locks an account. A locked account cannot send out Theta/TFuel tokens.

Parameters

address - string

The address of the account to be locked

Request

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.LockKey",
"params": {},
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}