⚡ Dedicated Nodes for ETH, BSC, MATIC & other Blockchains at a Reduced Price!

ltc

Litecoin (LTC)

Method: POST listtransactions

dropdown
POST

listtransactions

方法不允许

最多返回 [count] 个最近的交易,跳过账户 [account] 的第一个 [from] 交易。如果 [account] 未提供,将返回所有帐户的最近交易。

Parameters

account - 字符串,可选

帐户

count - 数字,可选,默认值=10

数数

from - 数字,可选,默认=0

从块

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


Response

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