📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

ltc
Litecoin (LTC)

Method: POST listunspent

dropdown

方法 RPC listunspent 例如 Litecoin (LTC)

POST listunspent

方法不允许

返回钱包中未花费的交易输入数组。

Parameters

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

民调

maxconf - 数字,可选,默认值=9999999

最大配置

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