ltc

Litecoin (LTC)

Method: POST listunspent

dropdown
POST

listunspent

Method not allowed

Returns array of unspent transaction inputs in the wallet.

Parameters

minconf - numeric, optional, default=1

Minconf

maxconf - numeric, optional, default=9999999

Maxconf

address - string, optional

Address

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": "listunspent",
"params": [null, null, null],
"id": "getblock.io"}'


Response

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