ltc

Litecoin (LTC)

Method: POST listaccounts

dropdown
POST

listaccounts

Method not allowed

Returns Object that has account names as keys, account balances as values.

Parameters

minconf - numeric, optional, default=1

Minconf

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"
}