⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
ltc

Litecoin (LTC)

Method: POST listtransactions

dropdown
POST

listtransactions

Method not allowed

Returns up to [count] most recent transactions skipping the first [from] transactions for account [account]. If [account] not provided will return recent transaction from all accounts.

Parameters

account - string, optional

Account

count - numeric, optional, default=10

Count

from - numeric, optional, default=0

From block

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