⚡ Private API access, no rate limits, unlimited number of requests & more just for $50!

coins coins coins coins
ltc

Litecoin (LTC)

Method: POST listsinceblock

dropdown
POST

listsinceblock

方法不允许

获取自区块区块哈希以来区块中的所有交易,或所有交易(如果省略)。

Parameters

blockhash - 字符串,可选

区块哈希

target-confirmations - 字符串,可选

目标确认

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


Response

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