ltc

Litecoin (LTC)

Method: POST gettransaction

dropdown

POST gettransaction

Method not allowed

Returns an object about the given transaction containing

amount, confirmations, txid, time, details

(an array of objects containing account, address, category, amount, fee)

Parameters

txid - string, required

The transaction id

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


Response

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