ltc

Litecoin (LTC)

Method: POST sendrawtransaction

dropdown
POST

sendrawtransaction

Submits raw transaction (serialized, hex-encoded) to local node and network.

Parameters

hexstring - string, required

The hex string of the raw transaction

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


Response

null