⚡ We welcome businesses to test our enterprise-grade service

ltc
Litecoin (LTC)

Method: POST listtransactions

dropdown

方法 RPC listtransactions 例如 Litecoin (LTC)

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