ltc

Litecoin (LTC)

Method: POST listaccounts

dropdown
POST

listaccounts

方法不允许

返回以帐户名称作为键、帐户余额作为值的对象。

Parameters

minconf - 数字,可选,默认=1

民调

Request

curl --location --request POST 'https://ltc.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "listaccounts",
"params": [null],
"id": "getblock.io"}'


Response

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